summaryrefslogtreecommitdiff
path: root/libc/unistd/getopt-susv3.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-17 09:27:30 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-17 09:27:30 +0000
commitbabffcaa721c60a1e3c0928d9f7c6975425984a9 (patch)
treec96806643a2e02530a8007dea28c0894fdc512e6 /libc/unistd/getopt-susv3.c
parent6678c3b74d0f482f635756f014a210abce824e16 (diff)
Remove hidden_data_def for opt*
Diffstat (limited to 'libc/unistd/getopt-susv3.c')
-rw-r--r--libc/unistd/getopt-susv3.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libc/unistd/getopt-susv3.c b/libc/unistd/getopt-susv3.c
index 32f699a8e..70a616011 100644
--- a/libc/unistd/getopt-susv3.c
+++ b/libc/unistd/getopt-susv3.c
@@ -54,18 +54,10 @@ static const char missing[] = "%s: option requires an argument -- %c\n";
static const char illegal[] = "%s: illegal option -- %c\n";
#endif
-libc_hidden_proto(opterr)
int opterr = 1;
-libc_hidden_data_def(opterr)
-libc_hidden_proto(optind)
int optind = 1;
-libc_hidden_data_def(optind)
-libc_hidden_proto(optopt)
int optopt = 0;
-libc_hidden_data_def(optopt)
-libc_hidden_proto(optarg)
char *optarg = NULL;
-libc_hidden_data_def(optarg)
int getopt(int argc, char * const argv[], const char *optstring)
{