comparison 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
comparison
equal deleted inserted replaced
15407:375229c3ac0d 15408:ddd903fb6a71
765 } 765 }
766 766
767 static PyObject * 767 static PyObject *
768 parsenumber(struct compiling *co, char *s) 768 parsenumber(struct compiling *co, char *s)
769 { 769 {
770 extern double atof(const char *);
771 char *end; 770 char *end;
772 long x; 771 long x;
773 double dx; 772 double dx;
774 #ifndef WITHOUT_COMPLEX 773 #ifndef WITHOUT_COMPLEX
775 Py_complex c; 774 Py_complex c;