aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/wsgetopt.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-04-04 19:36:24 +0000
committerGuy Harris <guy@alum.mit.edu>2012-04-04 19:36:24 +0000
commitd0039be915e394790f7526682bd1ab573fb23087 (patch)
tree435e4ae9f28134e445576ebc45c6d2659e614d5d /wsutil/wsgetopt.h
parent43ca745bb99d0a7d19cb89cbf1077ef8a1ae37c3 (diff)
Always declare getopt() with a prototype.
svn path=/trunk/; revision=41939
Diffstat (limited to 'wsutil/wsgetopt.h')
-rw-r--r--wsutil/wsgetopt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wsutil/wsgetopt.h b/wsutil/wsgetopt.h
index 3b4367cbcd..c65fd7c05b 100644
--- a/wsutil/wsgetopt.h
+++ b/wsutil/wsgetopt.h
@@ -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