aboutsummaryrefslogtreecommitdiff
path: root/src/backend
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/backend
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/backend')
-rw-r--r--src/backend/postmaster/postmaster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 1f3b6e8cd98..f27a83e1f88 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.576 2009/03/04 13:56:40 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.577 2009/04/05 04:19:58 tgl Exp $
*
* NOTES
*
@@ -309,7 +309,7 @@ extern int optind,
opterr;
#ifdef HAVE_INT_OPTRESET
-extern int optreset;
+extern int optreset; /* might not be declared by system headers */
#endif
/*