aboutsummaryrefslogtreecommitdiff
path: root/posix/getopt1.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-02-18 03:51:45 +0000
committerRoland McGrath <roland@gnu.org>1995-02-18 03:51:45 +0000
commit0ad46177053e2c91b967d7193eeaf43e82f279ea (patch)
tree35804bc94c9d7f43cd78398a061052e38f4e9141 /posix/getopt1.c
parent28f540f45bbacd939bfd07f213bcad2bf730b1bf (diff)
downloadglibc-0ad46177053e2c91b967d7193eeaf43e82f279ea.tar
glibc-0ad46177053e2c91b967d7193eeaf43e82f279ea.tar.gz
glibc-0ad46177053e2c91b967d7193eeaf43e82f279ea.tar.bz2
glibc-0ad46177053e2c91b967d7193eeaf43e82f279ea.zip
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c
Diffstat (limited to 'posix/getopt1.c')
-rw-r--r--posix/getopt1.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/posix/getopt1.c b/posix/getopt1.c
index 644894f7bc..de8e2ad567 100644
--- a/posix/getopt1.c
+++ b/posix/getopt1.c
@@ -1,5 +1,5 @@
/* getopt_long and getopt_long_only entry points for GNU getopt.
- Copyright (C) 1987, 88, 89, 90, 91, 92, 1993
+ Copyright (C) 1987, 88, 89, 90, 91, 92, 1993, 1994
Free Software Foundation, Inc.
This file is part of the GNU C Library. Its master source is NOT part of
@@ -21,19 +21,12 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
-#if defined (emacs) || defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include "getopt.h"
-#ifndef __STDC__
+#if !defined (__STDC__) || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#ifndef const