summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-11-14 20:44:53 +0000
committerTim Peters <tim.peters@gmail.com>2000-11-14 20:44:53 +0000
commitc4c1cbdfb1d076ad4675bd2852846294d7ee1201 (patch)
tree287b451371929e95ba2e6cb7a4006abb94ad138a /Python/compile.c
parent48623af2fa3894c2d38037272ff04de4dae61fa0 (diff)
downloadcpython-c4c1cbdfb1d076ad4675bd2852846294d7ee1201.tar.gz
SF bug 119622: compile errors due to redundant atof decls. I don't understand
the bug report (for details, look at it), but agree there's no need for Python to declare atof itself: we #include stdlib.h, and ANSI C sez atof is declared there already.
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index e14fc01df8..77ae001c11 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -767,7 +767,6 @@ com_addopname(struct compiling *c, int op, node *n)
static PyObject *
parsenumber(struct compiling *co, char *s)
{
- extern double atof(const char *);
char *end;
long x;
double dx;