summaryrefslogtreecommitdiffstats
path: root/Python/mystrtoul.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 18:47:25 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 18:47:25 (GMT)
commitf70ef4f8606f99744252a804229d53a4d97601c1 (patch)
treebe401f2f10b39f0603e4cc0ae091335890410b7f /Python/mystrtoul.c
parent0452d1f316903f0553a0d92e0673ff37247cdfa5 (diff)
downloadcpython-f70ef4f8606f99744252a804229d53a4d97601c1.zip
cpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.gz
cpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.bz2
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 f785c51..29728e5 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;