projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5985a9
)
Fix obsolescent C declaration syntax
author
Peter Eisentraut
<peter_e@gmx.net>
Sat, 12 May 2012 09:52:02 +0000
(12:52 +0300)
committer
Peter Eisentraut
<peter_e@gmx.net>
Sat, 12 May 2012 09:52:02 +0000
(12:52 +0300)
gcc -Wextra/-Wold-style-declaration thinks that "inline" should go
before the function return type.
src/backend/access/gist/gistproc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/gist/gistproc.c
b/src/backend/access/gist/gistproc.c
index 7070890f20f296e1dcd23d9b6b98ce2a904805d0..d97c64ede3f9326fb507824556c05686070f3e57 100644
(file)
--- a/
src/backend/access/gist/gistproc.c
+++ b/
src/backend/access/gist/gistproc.c
@@
-327,7
+327,7
@@
non_negative(float val)
/*
* Consider replacement of currently selected split with the better one.
*/
-static
void inline
+static
inline void
g_box_consider_split(ConsiderSplitContext *context, int dimNum,
double rightLower, int minLeftCount,
double leftUpper, int maxLeftCount)