From: Peter Eisentraut Date: Tue, 19 Jul 2011 04:57:38 +0000 (+0300) Subject: Put inline declaration before return type X-Git-Tag: REL9_2_BETA1~1385 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf6be7af2532da6674dcb9335c0953044a787427;p=postgresql 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. --- diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.c b/contrib/fuzzystrmatch/fuzzystrmatch.c index 782bc1e4d4..dbce1c1019 100644 --- a/contrib/fuzzystrmatch/fuzzystrmatch.c +++ b/contrib/fuzzystrmatch/fuzzystrmatch.c @@ -168,7 +168,7 @@ getcode(char c) #define NOGHTOF(c) (getcode(c) & 16) /* BDH */ /* 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) { while (len > 0)