diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 18:47:25 +0000 |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 18:47:25 +0000 |
commit | 709fe068997740a7918524211227c42bfdc69b66 (patch) | |
tree | 4f022043c06c1ca4e008fddd6b7d74d0cd982660 /Python/mystrtoul.c | |
parent | 7595e27397618e42a5834ea0f7cefdb009e3039d (diff) | |
download | cpython-709fe068997740a7918524211227c42bfdc69b66.tar.gz |
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.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index f785c51e31..29728e5682 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; |