commit | 10bb1c46f1cbf2b4cca6cf85536c038252273dec | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jan 20 16:54:36 1995 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jan 20 16:54:36 1995 +0000 |
tree | 41fb3e083e694ba8512b1dad84b4462a2efaa9b8 | |
parent | 46c76a6c6688609a0d9d334945b166993d71c51e [diff] [blame] |
don't use function prototypes
diff --git a/Python/getopt.c b/Python/getopt.c index e1ec698..c08f07f 100644 --- a/Python/getopt.c +++ b/Python/getopt.c
@@ -37,7 +37,10 @@ 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;