aboutsummaryrefslogtreecommitdiff
path: root/src/include
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/include
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/include')
-rw-r--r--src/include/getopt_long.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/getopt_long.h b/src/include/getopt_long.h
index 13a6a88ddd9..929151cdd7b 100644
--- a/src/include/getopt_long.h
+++ b/src/include/getopt_long.h
@@ -4,7 +4,7 @@
*
* Portions Copyright (c) 2003-2009, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/getopt_long.h,v 1.10 2009/01/01 17:23:55 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/getopt_long.h,v 1.11 2009/04/05 04:19:59 tgl Exp $
*/
#ifndef GETOPT_LONG_H
#define GETOPT_LONG_H
@@ -18,8 +18,6 @@ extern int opterr;
extern int optind;
extern int optopt;
extern char *optarg;
-
-/* Some systems have this, otherwise you need to define it somewhere. */
extern int optreset;
#ifndef HAVE_STRUCT_OPTION