aboutsummaryrefslogtreecommitdiff
path: root/libio/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/stdio.h')
-rw-r--r--libio/stdio.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index 912a30e..c800300 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -710,15 +710,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