diff options
author | Guido van Rossum <guido@python.org> | 1995-01-20 16:54:36 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-20 16:54:36 (GMT) |
commit | 10bb1c46f1cbf2b4cca6cf85536c038252273dec (patch) | |
tree | 41fb3e083e694ba8512b1dad84b4462a2efaa9b8 /Python/getopt.c | |
parent | 46c76a6c6688609a0d9d334945b166993d71c51e (diff) | |
download | cpython-10bb1c46f1cbf2b4cca6cf85536c038252273dec.zip cpython-10bb1c46f1cbf2b4cca6cf85536c038252273dec.tar.gz cpython-10bb1c46f1cbf2b4cca6cf85536c038252273dec.tar.bz2 |
don't use function prototypes
Diffstat (limited to 'Python/getopt.c')
-rw-r--r-- | Python/getopt.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ 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; |