diff --git a/Modules/stropmodule.c b/Modules/stropmodule.c index 9e9fa044f22..41d1ce2c310 100644 --- a/Modules/stropmodule.c +++ b/Modules/stropmodule.c @@ -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; diff --git a/Python/compile.c b/Python/compile.c index 3903524ff05..4cdc26f521c 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -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;