Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bf6be7a

Browse files
committed
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.
1 parent 30f8545 commit bf6be7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/fuzzystrmatch/fuzzystrmatch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ getcode(char c)
168168
#define NOGHTOF(c) (getcode(c) & 16) /* BDH */
169169

170170
/* Faster than memcmp(), for this use case. */
171-
static bool inline
171+
static inline bool
172172
rest_of_char_same(const char *s1, const char *s2, int len)
173173
{
174174
while (len > 0)

0 commit comments

Comments
 (0)