summaryrefslogtreecommitdiff
path: root/src/bin/scripts/common.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-04-05 04:19:59 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-04-05 04:19:59 +0000
commit27fbfd396c62178f58564e77e5f27ed541618b3e (patch)
tree06ddf51092e0f98cc9fd4e114e8a50cc1815664e /src/bin/scripts/common.c
parent2227e2f16dfb498e72dc1e7d87ba1c2b7fef0b4d (diff)
downloadpostgresql-27fbfd396c62178f58564e77e5f27ed541618b3e.tar.gz
Remove a boatload of useless definitions of 'int optreset'. If we
are using our own ports of getopt or getopt_long, those will define the variable for themselves; and if not, we don't need these, because we never touch the variable anyway.
Diffstat (limited to 'src/bin/scripts/common.c')
-rw-r--r--src/bin/scripts/common.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bin/scripts/common.c b/src/bin/scripts/common.c
index c34115a1ba..9cf7f9c4fa 100644
--- a/src/bin/scripts/common.c
+++ b/src/bin/scripts/common.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/common.c,v 1.35 2009/02/26 16:02:38 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/common.c,v 1.36 2009/04/05 04:19:59 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -24,10 +24,6 @@
static void SetCancelConn(PGconn *conn);
static void ResetCancelConn(void);
-#ifndef HAVE_INT_OPTRESET
-int optreset;
-#endif
-
static PGcancel *volatile cancelConn = NULL;
#ifdef WIN32