aboutsummaryrefslogtreecommitdiff
path: root/src/port/getopt_long.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/port/getopt_long.c
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/port/getopt_long.c')
-rw-r--r--src/port/getopt_long.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/port/getopt_long.c b/src/port/getopt_long.c
index a381939d2ea..504e989f02a 100644
--- a/src/port/getopt_long.c
+++ b/src/port/getopt_long.c
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $PostgreSQL: pgsql/src/port/getopt_long.c,v 1.6 2007/03/26 21:44:11 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/getopt_long.c,v 1.7 2009/04/05 04:19:59 tgl Exp $
*/
#include "c.h"
@@ -40,6 +40,7 @@
#ifndef HAVE_INT_OPTRESET
int optreset;
+/* else the "extern" was provided by getopt_long.h */
#endif
#define BADCH '?'