summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-10 16:57:44 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-10 16:57:44 (GMT)
commit46e9705ecad324b24ba7d69c6926bce051ec71fa (patch)
treef9b780d1a8ea8143835dd604567f0c97df00ae0a
parentca90605678cb724b9fc521e42abd644162d686c3 (diff)
downloadcpython-46e9705ecad324b24ba7d69c6926bce051ec71fa.zip
cpython-46e9705ecad324b24ba7d69c6926bce051ec71fa.tar.gz
cpython-46e9705ecad324b24ba7d69c6926bce051ec71fa.tar.bz2
Remove prototypes for PyOS_strto[u]l -- Chris Herborth.
-rw-r--r--Modules/stropmodule.c3
-rw-r--r--Python/compile.c3
2 files changed, 0 insertions, 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;