aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/common.h
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.h
parent2227e2f16dfb498e72dc1e7d87ba1c2b7fef0b4d (diff)
downloadpostgresql-27fbfd396c62178f58564e77e5f27ed541618b3e.tar.gz
postgresql-27fbfd396c62178f58564e77e5f27ed541618b3e.zip
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.h')
-rw-r--r--src/bin/scripts/common.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bin/scripts/common.h b/src/bin/scripts/common.h
index 5c94d46add0..9fb14c2db4a 100644
--- a/src/bin/scripts/common.h
+++ b/src/bin/scripts/common.h
@@ -4,7 +4,7 @@
*
* Copyright (c) 2003-2009, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.22 2009/02/26 16:02:39 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.23 2009/04/05 04:19:59 tgl Exp $
*/
#ifndef COMMON_H
#define COMMON_H
@@ -13,10 +13,6 @@
#include "getopt_long.h"
#include "pqexpbuffer.h"
-#ifndef HAVE_INT_OPTRESET
-extern int optreset;
-#endif
-
enum trivalue
{
TRI_DEFAULT,