From 46e9705ecad324b24ba7d69c6926bce051ec71fa Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 10 Dec 1998 16:57:44 +0000 Subject: Remove prototypes for PyOS_strto[u]l -- Chris Herborth. --- Modules/stropmodule.c | 3 --- Python/compile.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/Modules/stropmodule.c b/Modules/stropmodule.c index 9e9fa04..41d1ce2 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 3903524..4cdc26f 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; -- cgit v0.12