From c4c1cbdfb1d076ad4675bd2852846294d7ee1201 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 14 Nov 2000 20:44:53 +0000 Subject: 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. --- Python/marshal.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'Python/marshal.c') diff --git a/Python/marshal.c b/Python/marshal.c index f8953ceae4..a9b3ed1653 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); -- cgit v1.2.1