From 10bb1c46f1cbf2b4cca6cf85536c038252273dec Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 20 Jan 1995 16:54:36 +0000 Subject: [PATCH] don't use function prototypes --- Python/getopt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Python/getopt.c b/Python/getopt.c index e1ec698702c..c08f07fa03b 100644 --- a/Python/getopt.c +++ b/Python/getopt.c @@ -37,7 +37,10 @@ int optind = 1; /* index into argv array */ char * optarg = NULL; /* optional argument */ -int getopt(int argc, char *argv[], const char optstring[]) +int getopt(argc,argv,optstring) +int argc; +char *argv[]; +char optstring[]; { static char *opt_ptr = ""; register char *ptr;