mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +08:00
Remove prototypes for PyOS_strto[u]l -- Chris Herborth.
This commit is contained in:
parent
ca90605678
commit
46e9705eca
@ -725,9 +725,6 @@ strop_atoi(self, args)
|
||||
PyObject *self; /* Not used */
|
||||
PyObject *args;
|
||||
{
|
||||
extern long PyOS_strtol Py_PROTO((const char *, char **, int));
|
||||
extern unsigned long
|
||||
PyOS_strtoul Py_PROTO((const char *, char **, int));
|
||||
char *s, *end;
|
||||
int base = 10;
|
||||
long x;
|
||||
|
@ -816,9 +816,6 @@ parsenumber(co, s)
|
||||
struct compiling *co;
|
||||
char *s;
|
||||
{
|
||||
extern long PyOS_strtol Py_PROTO((const char *, char **, int));
|
||||
extern unsigned long PyOS_strtoul Py_PROTO((const char *,
|
||||
char **, int));
|
||||
extern double atof Py_PROTO((const char *));
|
||||
char *end;
|
||||
long x;
|
||||
|
Loading…
Reference in New Issue
Block a user