summaryrefslogtreecommitdiff
path: root/libc/unistd/getopt-susv3.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-27 14:50:29 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-27 14:50:29 +0000
commit1204bae1e531299734c0e56c560f16e8c5de5451 (patch)
treecd08b5a0312e9f60384c12226afcd978505bb890 /libc/unistd/getopt-susv3.c
parent2ecbc559282fd45c9557838be6129a2575f3c4c4 (diff)
Add hidden version for susv3 getopt
Diffstat (limited to 'libc/unistd/getopt-susv3.c')
-rw-r--r--libc/unistd/getopt-susv3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/unistd/getopt-susv3.c b/libc/unistd/getopt-susv3.c
index 70a616011..df36bfbb8 100644
--- a/libc/unistd/getopt-susv3.c
+++ b/libc/unistd/getopt-susv3.c
@@ -59,6 +59,7 @@ int optind = 1;
int optopt = 0;
char *optarg = NULL;
+libc_hidden_proto(getopt)
int getopt(int argc, char * const argv[], const char *optstring)
{
static const char *o; /* multi opt position */
@@ -135,3 +136,4 @@ int getopt(int argc, char * const argv[], const char *optstring)
DONE:
return retval;
}
+libc_hidden_def(getopt)