From 518a0dd201c48a5c15d73c1919c304a9f8f5e3c1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 11 Aug 2001 19:43:52 +0000 Subject: Update. 2001-08-11 Ulrich Drepper * config.h.in: Add #undef line for USE_NONOPTION_FLAGS. * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is defined. * posix/getopt.c: Use __getopt_nonoption_flags only if USE_NONOPTION_FLAGS is defined. * sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment only if USE_NONOPTION_FLAGS is defined. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Likewise. --- posix/getopt_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'posix/getopt_init.c') diff --git a/posix/getopt_init.c b/posix/getopt_init.c index dd3d433460..d460098c8a 100644 --- a/posix/getopt_init.c +++ b/posix/getopt_init.c @@ -18,6 +18,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#ifdef USE_NONOPTION_FLAGS /* Attention: this file is *not* necessary when the GNU getopt functions are used outside the GNU libc. Some additional functionality of the getopt functions in GNU libc require this additional work. */ @@ -71,3 +72,4 @@ __getopt_clean_environment (char **env) /* Continue the loop in case the name appears again. */ } } +#endif /* USE_NONOPTION_FLAGS */ -- cgit v1.2.1