diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-04-04 19:36:24 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-04-04 19:36:24 +0000 |
commit | d0039be915e394790f7526682bd1ab573fb23087 (patch) | |
tree | 435e4ae9f28134e445576ebc45c6d2659e614d5d /wsutil | |
parent | 43ca745bb99d0a7d19cb89cbf1077ef8a1ae37c3 (diff) | |
download | wireshark-d0039be915e394790f7526682bd1ab573fb23087.tar.gz wireshark-d0039be915e394790f7526682bd1ab573fb23087.tar.bz2 wireshark-d0039be915e394790f7526682bd1ab573fb23087.zip |
Always declare getopt() with a prototype.
svn path=/trunk/; revision=41939
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/wsgetopt.h | 3 |
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 |