mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
This commit is contained in:
parent
0452d1f316
commit
f70ef4f860
45 changed files with 704 additions and 1526 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue