Browse Source

Add hidden version for susv3 getopt

Peter S. Mazinger 19 years ago
parent
commit
1204bae1e5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/unistd/getopt-susv3.c

+ 2 - 0
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)