]> granicus.if.org Git - postgresql/commitdiff
Fix deprecated-by-C-spec usage: storage class should come before const
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 Nov 2007 20:57:24 +0000 (20:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 Nov 2007 20:57:24 +0000 (20:57 +0000)
decoration.  Zdenek Kotala

src/interfaces/ecpg/ecpglib/prepare.c

index 5c840a51d7fe3cbf0f4f967a74c1db97178c8cc8..2433478a05b93c6a17eabf92ab4c40cfaeb391a3 100644 (file)
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.22 2007/10/03 11:11:12 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.23 2007/11/05 20:57:24 tgl Exp $ */
 
 #define POSTGRES_ECPG_INTERNAL
 #include "postgres_fe.h"
@@ -31,8 +31,8 @@ typedef struct
 } stmtCacheEntry;
 
 static int             nextStmtID               = 1;
-const static int       stmtCacheNBuckets        = 2039;     /* # buckets - a prime # */
-const static int       stmtCacheEntPerBucket    = 8;        /* # entries/bucket     */
+static const int       stmtCacheNBuckets        = 2039;     /* # buckets - a prime # */
+static const int       stmtCacheEntPerBucket    = 8;        /* # entries/bucket     */
 static stmtCacheEntry  stmtCacheEntries[16384] = {{0,{0},0,0,0}};
 
 static struct prepared_statement *find_prepared_statement(const char *name,