diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-11-14 20:44:53 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-11-14 20:44:53 (GMT) |
commit | 102e457a01bb10d3724c20464b919704ea30744d (patch) | |
tree | 2c42b77d77e4c93ff4125c6b7291cc776ba1b7ab /Python/marshal.c | |
parent | 2e42bddbe9003192b8c323a6eac2772970f93ba4 (diff) | |
download | cpython-102e457a01bb10d3724c20464b919704ea30744d.zip cpython-102e457a01bb10d3724c20464b919704ea30744d.tar.gz cpython-102e457a01bb10d3724c20464b919704ea30744d.tar.bz2 |
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/marshal.c')
-rw-r--r-- | Python/marshal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index f8953ce..a9b3ed1 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -403,7 +403,6 @@ r_object(RFILE *p) case TYPE_FLOAT: { - extern double atof(const char *); char buf[256]; double dx; n = r_byte(p); @@ -422,7 +421,6 @@ r_object(RFILE *p) #ifndef WITHOUT_COMPLEX case TYPE_COMPLEX: { - extern double atof(const char *); char buf[256]; Py_complex c; n = r_byte(p); |