Skip to content

Commit 10bb1c4

Browse files
committed
don't use function prototypes
1 parent 46c76a6 commit 10bb1c4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Python/getopt.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ int optind = 1; /* index into argv array */
3737
char * optarg = NULL; /* optional argument */
3838

3939

40-
int getopt(int argc, char *argv[], const char optstring[])
40+
int getopt(argc,argv,optstring)
41+
int argc;
42+
char *argv[];
43+
char optstring[];
4144
{
4245
static char *opt_ptr = "";
4346
register char *ptr;

0 commit comments

Comments
 (0)