aboutsummaryrefslogtreecommitdiff
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
commitf70ef4f8606f99744252a804229d53a4d97601c1 (patch)
treebe401f2f10b39f0603e4cc0ae091335890410b7f /Python/mystrtoul.c
parentFix two instances of empty argument lists, and fix style (diff)
downloadcpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.gz
cpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.bz2
cpython-f70ef4f8606f99744252a804229d53a4d97601c1.zip
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
Diffstat (limited to 'Python/mystrtoul.c')
-rw-r--r--Python/mystrtoul.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c
index f785c51e31a..29728e5682c 100644
--- a/Python/mystrtoul.c
+++ b/Python/mystrtoul.c
@@ -44,10 +44,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#endif
unsigned long
-PyOS_strtoul(str, ptr, base)
-register char * str;
-char ** ptr;
-int base;
+PyOS_strtoul(register char *str, char **ptr, int base)
{
register unsigned long result; /* return value of the function */
register int c; /* current input character */
@@ -137,10 +134,7 @@ int base;
}
long
-PyOS_strtol(str, ptr, base)
-char * str;
-char ** ptr;
-int base;
+PyOS_strtol(char *str, char **ptr, int base)
{
long result;
char sign;