aboutsummaryrefslogtreecommitdiffstats
path: root/getopt.h
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-12 17:14:10 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-12 17:14:10 +0000
commit32236594d7df59a877ab0336ce288d486e9cddfc (patch)
tree047267f2d631a1528d2005d95efcfd50d31f0b0f /getopt.h
parent56834f8a9fe65d7bba9b00428e0a040f44ab29bb (diff)
Add arguments to the getopt() prototype
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29869 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'getopt.h')
-rw-r--r--getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/getopt.h b/getopt.h
index 45541f5ac0..e22c634bcc 100644
--- a/getopt.h
+++ b/getopt.h
@@ -101,7 +101,7 @@ struct option
errors, only prototype getopt for the GNU C library. */
extern int getopt (int argc, char *const *argv, const char *shortopts);
#else /* not __GNU_LIBRARY__ */
-extern int getopt ();
+extern int getopt (int argc, char *const *argv, const char *optstring);
#endif /* not __GNU_LIBRARY__ */
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
const struct option *longopts, int *longind);