summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-05-12 12:52:02 +0300
committerPeter Eisentraut <peter_e@gmx.net>2012-05-12 12:52:02 +0300
commitafe86a9e73b0d30f34dfdc196a6b52ce1306a95e (patch)
tree1955657434feda982ce58559e15d3ea28b8c8394 /src/backend/access/gist/gistproc.c
parenta5985a96a82d96704984377a96c1945bcf914646 (diff)
downloadpostgresql-afe86a9e73b0d30f34dfdc196a6b52ce1306a95e.tar.gz
Fix obsolescent C declaration syntax
gcc -Wextra/-Wold-style-declaration thinks that "inline" should go before the function return type.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
-rw-r--r--src/backend/access/gist/gistproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/gist/gistproc.c b/src/backend/access/gist/gistproc.c
index 7070890f20..d97c64ede3 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)