Always declare getopt() with a prototype.

svn path=/trunk/; revision=41939
This commit is contained in:
Guy Harris 2012-04-04 19:36:24 +00:00
parent 43ca745bb9
commit d0039be915
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@ extern int __posix_getopt (int ___argc, char *const *___argv,
# endif
# endif
#else /* not __GNU_LIBRARY__ */
extern int getopt ();
extern int getopt (int ___argc, char *const *___argv,
const char *__shortopts);
#endif /* __GNU_LIBRARY__ */
#ifndef __need_getopt