summaryrefslogtreecommitdiff
path: root/Python/getopt.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 18:47:25 +0000
committerThomas Wouters <thomas@python.org>2000-07-22 18:47:25 +0000
commit709fe068997740a7918524211227c42bfdc69b66 (patch)
tree4f022043c06c1ca4e008fddd6b7d74d0cd982660 /Python/getopt.c
parent7595e27397618e42a5834ea0f7cefdb009e3039d (diff)
downloadcpython-709fe068997740a7918524211227c42bfdc69b66.tar.gz
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
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 c5a3f62681..8af67fa94d 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 = "";