summaryrefslogtreecommitdiffstats
path: root/Python/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/getopt.c')
-rw-r--r--Python/getopt.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Python/getopt.c b/Python/getopt.c
index c5a3f62..8af67fa 100644
--- a/Python/getopt.c
+++ b/Python/getopt.c
@@ -41,12 +41,9 @@ char * optarg = NULL; /* optional argument */
#ifndef __BEOS__
-int getopt(argc,argv,optstring)
-int argc;
-char *argv[];
-char optstring[];
+int getopt(int argc, char *argv[], char optstring[])
#else
-int getopt( int argc, char *const *argv, const char *optstring )
+int getopt(int argc, char *const *argv, const char *optstring)
#endif
{
static char *opt_ptr = "";