]> The Tcpdump Group git mirrors - libpcap/commitdiff
Don't use old-style function definitions.
authorGuy Harris <[email protected]>
Tue, 20 Mar 2018 18:48:00 +0000 (11:48 -0700)
committerGuy Harris <[email protected]>
Tue, 20 Mar 2018 18:48:00 +0000 (11:48 -0700)
missing/getopt.c

index cc798e1de84d352f15dd5a14037f890955e4b72b..7c897c6f5936398aa7879f900d6ece9d314d7d5c 100644 (file)
@@ -56,10 +56,7 @@ char *optarg;                /* argument associated with option */
  *     Parse argc/argv argument vector.
  */
 int
-getopt(nargc, nargv, ostr)
-       int nargc;
-       char * const *nargv;
-       const char *ostr;
+getopt(int nargc, char * const *nargv, const char *ostr)
 {
        char *cp;
        static char *__progname;