Skip to content

Commit bcb3852

Browse files
committed
Fix deprecated-by-C-spec usage: storage class should come before const
decoration. Zdenek Kotala
1 parent df87074 commit bcb3852

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces/ecpg/ecpglib/prepare.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.22 2007/10/03 11:11:12 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.23 2007/11/05 20:57:24 tgl Exp $ */
22

33
#define POSTGRES_ECPG_INTERNAL
44
#include "postgres_fe.h"
@@ -31,8 +31,8 @@ typedef struct
3131
} stmtCacheEntry;
3232

3333
static int nextStmtID = 1;
34-
const static int stmtCacheNBuckets = 2039; /* # buckets - a prime # */
35-
const static int stmtCacheEntPerBucket = 8; /* # entries/bucket */
34+
static const int stmtCacheNBuckets = 2039; /* # buckets - a prime # */
35+
static const int stmtCacheEntPerBucket = 8; /* # entries/bucket */
3636
static stmtCacheEntry stmtCacheEntries[16384] = {{0,{0},0,0,0}};
3737

3838
static struct prepared_statement *find_prepared_statement(const char *name,

0 commit comments

Comments
 (0)