postgres.git / summary / log / commit / refs
commit afe86a9e73b0d30f34dfdc196a6b52ce1306a95e
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Sat May 12 09:52:02 2012 +0000
First released in: 9.2.0
Fix obsolescent C declaration syntax
gcc -Wextra/-Wold-style-declaration thinks that "inline" should go
before the function return type.
src/backend/access/gist/gistproc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/access/gist/gistproc.c b/src/backend/access/gist/gistproc.c
index 7070890f20f..d97c64ede3f 100644
--- 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)
[parent: a5985a96a82d]