Mercurial > cpython-lru_cache-weakref
diff Python/mystrtoul.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 | 87ee82e5c56d |
| children | 6f6f965c5e2d |
line wrap: on
line diff
--- a/Python/mystrtoul.c Sat Jul 22 18:45:06 2000 +0000 +++ b/Python/mystrtoul.c Sat Jul 22 18:47:25 2000 +0000 @@ -44,10 +44,7 @@ #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 @@ } long -PyOS_strtol(str, ptr, base) -char * str; -char ** ptr; -int base; +PyOS_strtol(char *str, char **ptr, int base) { long result; char sign;
