diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-03-20 11:48:00 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-03-20 11:48:00 -0700 |
commit | be4e98d60fd5e7b7e9ddab4a13400a039865bc64 (patch) | |
tree | 253a31029f029338d8b244512b9337a4786402b2 /missing | |
parent | 07ca6e18b9dbf3b4b13a3a3304fd3d5dd7145b56 (diff) |
Don't use old-style function definitions.
Diffstat (limited to 'missing')
-rw-r--r-- | missing/getopt.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; |