diff Python/compile.c @ 15408:ddd903fb6a71 legacy-trunk

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.
author Tim Peters <tim.peters@gmail.com>
date Tue, 14 Nov 2000 20:44:53 +0000
parents 25ddd3dc7a7a
children 433458651eb4
line wrap: on
line diff
--- a/Python/compile.c	Tue Nov 14 20:37:37 2000 +0000
+++ b/Python/compile.c	Tue Nov 14 20:44:53 2000 +0000
@@ -767,7 +767,6 @@
 static PyObject *
 parsenumber(struct compiling *co, char *s)
 {
-	extern double atof(const char *);
 	char *end;
 	long x;
 	double dx;