]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
don't use function prototypes
authorGuido van Rossum <guido@python.org>
Fri, 20 Jan 1995 16:54:36 +0000 (16:54 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 20 Jan 1995 16:54:36 +0000 (16:54 +0000)
Python/getopt.c

index e1ec698702cf6808e5a8605e545b0cdffebf8e8b..c08f07fa03bae0528f2b2710452bdbb0df758afe 100644 (file)
@@ -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;