]> granicus.if.org Git - postgresql/commitdiff
Fix obsolescent C declaration syntax
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 12 May 2012 09:52:02 +0000 (12:52 +0300)
committerPeter 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

index 7070890f20f296e1dcd23d9b6b98ce2a904805d0..d97c64ede3f9326fb507824556c05686070f3e57 100644 (file)
@@ -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)