summaryrefslogtreecommitdiff
path: root/Python/getopt.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-20 16:54:36 +0000
committerGuido van Rossum <guido@python.org>1995-01-20 16:54:36 +0000
commit9847667cb49bad66d3ec2fddab5a7e7176599349 (patch)
tree3644d6079efd6c1673834a94e22dabe2f824bfa8 /Python/getopt.c
parentdd5d833884c09510a0e45f8e464501d52a4814ca (diff)
downloadcpython-9847667cb49bad66d3ec2fddab5a7e7176599349.tar.gz
don't use function prototypes
Diffstat (limited to 'Python/getopt.c')
-rw-r--r--Python/getopt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Python/getopt.c b/Python/getopt.c
index e1ec698702..c08f07fa03 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;