Mercurial > cpython-lru_cache-weakref
diff Python/getopt.c @ 2200:5ae922cfe404 legacy-trunk
don't use function prototypes
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 20 Jan 1995 16:54:36 +0000 |
| parents | ecbadb818847 |
| children | e8996884e8e1 |
line wrap: on
line diff
--- a/Python/getopt.c Fri Jan 20 16:53:54 1995 +0000 +++ b/Python/getopt.c Fri Jan 20 16:54:36 1995 +0000 @@ -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;
