From: Guy Harris Date: Tue, 20 Mar 2018 18:48:00 +0000 (-0700) Subject: Don't use old-style function definitions. X-Git-Tag: libpcap-1.9-bp~214 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/be4e98d60fd5e7b7e9ddab4a13400a039865bc64 Don't use old-style function definitions. --- diff --git a/missing/getopt.c b/missing/getopt.c index cc798e1d..7c897c6f 100644 --- a/missing/getopt.c +++ b/missing/getopt.c @@ -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;