From 1204bae1e531299734c0e56c560f16e8c5de5451 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 27 Feb 2006 14:50:29 +0000 Subject: Add hidden version for susv3 getopt --- libc/unistd/getopt-susv3.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc') 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) -- cgit v1.2.3