aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib/error.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-02-13 18:13:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-02-13 18:13:22 +0000
commit8d33f80fc43853b6d6f63fac42b19b5ceba2e306 (patch)
tree002857de88ee65717d59703929ccdde469079a68 /src/interfaces/ecpg/lib/error.c
parent478c95a0dcf94a7748f2eeea1da146e103c9ba2a (diff)
downloadpostgresql-8d33f80fc43853b6d6f63fac42b19b5ceba2e306.tar.gz
postgresql-8d33f80fc43853b6d6f63fac42b19b5ceba2e306.zip
Suppress gcc warning.
Diffstat (limited to 'src/interfaces/ecpg/lib/error.c')
-rw-r--r--src/interfaces/ecpg/lib/error.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/lib/error.c b/src/interfaces/ecpg/lib/error.c
index d58f6767afe..fc34377f94c 100644
--- a/src/interfaces/ecpg/lib/error.c
+++ b/src/interfaces/ecpg/lib/error.c
@@ -1,4 +1,4 @@
-/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/error.c,v 1.17 2003/02/13 13:11:52 meskes Exp $ */
+/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/error.c,v 1.18 2003/02/13 18:13:22 tgl Exp $ */
#include "postgres_fe.h"
@@ -12,7 +12,8 @@
/* This should hold the back-end error message from
* the last back-end operation. */
-char *ECPGerr;
+static char *ECPGerr;
+
void
ECPGraise(int line, int code, const char *str)