]> The Tcpdump Group git mirrors - libpcap/blobdiff - tests/valgrindtest.c
Add a "getopt.h" header and include it instead of <unistd.h> on Windows.
[libpcap] / tests / valgrindtest.c
index 72786e41ae6897f952ff43d3b05086a20df4ffc1..c825952e0b0006a0e266480fe60d0ff77a52c9d2 100644 (file)
@@ -85,10 +85,6 @@ static void error(const char *, ...)
 static void warning(const char *, ...)
     __attribute__((format (printf, 1, 2)));
 
-extern int optind;
-extern int opterr;
-extern char *optarg;
-
 /*
  * On Windows, we need to open the file in binary mode, so that
  * we get all the bytes specified by the size we get from "fstat()".