diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-07-19 07:57:38 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-07-19 07:57:38 +0300 |
commit | bf6be7af2532da6674dcb9335c0953044a787427 (patch) | |
tree | 8b6418555cc8f4e2e175c115dfcb52cc4abcdb2f | |
parent | 30f854537d0d2e9220976fe7016c909daabea612 (diff) | |
download | postgresql-bf6be7af2532da6674dcb9335c0953044a787427.tar.gz postgresql-bf6be7af2532da6674dcb9335c0953044a787427.zip |
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.
-rw-r--r-- | contrib/fuzzystrmatch/fuzzystrmatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.c b/contrib/fuzzystrmatch/fuzzystrmatch.c index 782bc1e4d44..dbce1c10197 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) |