summaryrefslogtreecommitdiffstats
path: root/compat/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/getopt.c')
-rw-r--r--compat/getopt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/compat/getopt.c b/compat/getopt.c
index f6ecb588..3a532372 100644
--- a/compat/getopt.c
+++ b/compat/getopt.c
@@ -52,10 +52,7 @@ char *BSDoptarg; /* argument associated with option */
* Parse argc/argv argument vector.
*/
int
-BSDgetopt(nargc, nargv, ostr)
- int nargc;
- char * const *nargv;
- const char *ostr;
+BSDgetopt(int nargc, char *const *nargv, const char *ostr)
{
static char *place = EMSG; /* option letter processing */
char *oli; /* option letter list index */