From 27fbfd396c62178f58564e77e5f27ed541618b3e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 5 Apr 2009 04:19:59 +0000 Subject: 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. --- src/bin/scripts/common.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/bin/scripts/common.h') 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, -- cgit v1.2.3