summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-20 16:54:36 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-20 16:54:36 (GMT)
commit10bb1c46f1cbf2b4cca6cf85536c038252273dec (patch)
tree41fb3e083e694ba8512b1dad84b4462a2efaa9b8
parent46c76a6c6688609a0d9d334945b166993d71c51e (diff)
downloadcpython-10bb1c46f1cbf2b4cca6cf85536c038252273dec.zip
cpython-10bb1c46f1cbf2b4cca6cf85536c038252273dec.tar.gz
cpython-10bb1c46f1cbf2b4cca6cf85536c038252273dec.tar.bz2
don't use function prototypes
-rw-r--r--Python/getopt.c5
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;