mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
don't use function prototypes
This commit is contained in:
parent
46c76a6c66
commit
10bb1c46f1
1 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,10 @@ int optind = 1; /* index into argv array */
|
||||||
char * optarg = NULL; /* optional argument */
|
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 = "";
|
static char *opt_ptr = "";
|
||||||
register char *ptr;
|
register char *ptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue