diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-12 17:14:10 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-12 17:14:10 +0000 |
commit | 32236594d7df59a877ab0336ce288d486e9cddfc (patch) | |
tree | 047267f2d631a1528d2005d95efcfd50d31f0b0f /getopt.h | |
parent | 56834f8a9fe65d7bba9b00428e0a040f44ab29bb (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |