]> The Tcpdump Group git mirrors - libpcap/commitdiff
Squelch warning about optreset not being declared.
authorGisle Vanem <[email protected]>
Thu, 3 May 2018 01:37:41 +0000 (18:37 -0700)
committerGuy Harris <[email protected]>
Thu, 3 May 2018 01:37:41 +0000 (18:37 -0700)
missing/getopt.h

index d176345ae20ba16a92c259bb0979fbb47a03c1db..fc83c944d7def091f1f887a004aad064531d19f3 100644 (file)
@@ -2,6 +2,6 @@
  * Header for the getopt() we supply if the platform doesn't supply it.
  */
 extern char *optarg;                   /* getopt(3) external variables */
-extern int optind, opterr, optopt;
+extern int optind, opterr, optreset, optopt;
 
 extern int getopt(int nargc, char * const *nargv, const char *ostr);