Skip to content
Snippets Groups Projects
Commit bf6be7af authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Put inline declaration before return type

gcc -Wextra complains that the other way around is obsolescent, and
this was the only place where it was written in this order.
parent 30f85453
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ getcode(char c) ...@@ -168,7 +168,7 @@ getcode(char c)
#define NOGHTOF(c) (getcode(c) & 16) /* BDH */ #define NOGHTOF(c) (getcode(c) & 16) /* BDH */
/* Faster than memcmp(), for this use case. */ /* Faster than memcmp(), for this use case. */
static bool inline static inline bool
rest_of_char_same(const char *s1, const char *s2, int len) rest_of_char_same(const char *s1, const char *s2, int len)
{ {
while (len > 0) while (len > 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment