diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-05 20:57:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-05 20:57:24 +0000 |
commit | bcb3852c3334e089b5546dccdaa33f12914f5337 (patch) | |
tree | 8201a87b693e3dbfd43baad9f430bb79a002e0ff /src | |
parent | df870740928d82c4ba9edcc1358fae74e5495359 (diff) | |
download | postgresql-bcb3852c3334e089b5546dccdaa33f12914f5337.tar.gz postgresql-bcb3852c3334e089b5546dccdaa33f12914f5337.zip |
Fix deprecated-by-C-spec usage: storage class should come before const
decoration. Zdenek Kotala
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/ecpg/ecpglib/prepare.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c index 5c840a51d7f..2433478a05b 100644 --- a/src/interfaces/ecpg/ecpglib/prepare.c +++ b/src/interfaces/ecpg/ecpglib/prepare.c @@ -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, |