projects
/
users
/
kgrittn
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f8545
)
Put inline declaration before return type
author
Peter Eisentraut
<peter_e@gmx.net>
Tue, 19 Jul 2011 04:57:38 +0000
(07:57 +0300)
committer
Peter Eisentraut
<peter_e@gmx.net>
Tue, 19 Jul 2011 04:57:38 +0000
(07:57 +0300)
gcc -Wextra complains that the other way around is obsolescent, and
this was the only place where it was written in this order.
contrib/fuzzystrmatch/fuzzystrmatch.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/fuzzystrmatch/fuzzystrmatch.c
b/contrib/fuzzystrmatch/fuzzystrmatch.c
index 782bc1e4d44064cba9ac6027d9108ba172e8fbd6..dbce1c101973c8d1d3804cc385d1770a9282afa1 100644
(file)
--- 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)