diff Python/getopt.c @ 13658:f79434ee41fa legacy-trunk

Mass ANSIfication of function definitions. Doesn't cover all 'extern' declarations yet, those come later.
author Thomas Wouters <thomas@python.org>
date Sat, 22 Jul 2000 18:47:25 +0000
parents 3b981eacad7b
children a826a46bae54
line wrap: on
line diff
--- a/Python/getopt.c	Sat Jul 22 18:45:06 2000 +0000
+++ b/Python/getopt.c	Sat Jul 22 18:47:25 2000 +0000
@@ -41,12 +41,9 @@
 
 
 #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 = "";