diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-09-23 15:28:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-09-23 15:28:54 +0000 |
commit | a379e56acc0955dd1ec03740cfbb632ce54b7416 (patch) | |
tree | 408e9a4ab3aa25628e67dec3b09448eee54a4054 /stdio | |
parent | 34a4b66d934c5aa8d413073f0df773ed5830c05b (diff) | |
download | glibc-a379e56acc0955dd1ec03740cfbb632ce54b7416.zip glibc-a379e56acc0955dd1ec03740cfbb632ce54b7416.tar.gz glibc-a379e56acc0955dd1ec03740cfbb632ce54b7416.tar.bz2 |
Update.
1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
* libio/stdio.h: Define __need_getopt and include getopt.h to define
getopt stuff.
* posix/unistd.h: Likewise.
* stdio/stdio.h: Likewise.
* posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
define only getopt and the variables.
(CPPFLAGS): Add -DUSE_LIBDB1
Diffstat (limited to 'stdio')
-rw-r--r-- | stdio/stdio.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/stdio/stdio.h b/stdio/stdio.h index 2ec55c4..c2d2060 100644 --- a/stdio/stdio.h +++ b/stdio/stdio.h @@ -832,15 +832,8 @@ extern void funlockfile __P ((FILE *__stream)); /* The X/Open standard requires some functions and variables to be declared here which do not belong into this header. But we have to follow. In GNU mode we don't do this nonsense. */ - -/* For more information on these symbols look in <getopt.h>. */ -extern char *optarg; -extern int optind; -extern int opterr; -extern int optopt; - -extern int getopt __P ((int __argc, char *__const *__argv, - __const char *__shortopts)); +# define __need_getopt +# include <getopt.h> #endif __END_DECLS |