diff Objects/stringobject.c @ 5717:3c67436a28e6 legacy-trunk

Use #include "mymath.h" instead of declaring fabs() explicitly. This should solve a weird problem on the Mac for Jack.
author Guido van Rossum <guido@python.org>
date Tue, 03 Jun 1997 18:03:18 +0000
parents 3b2fda31bf1b
children 5fb30413b93b
line wrap: on
line diff
--- a/Objects/stringobject.c	Tue Jun 03 17:58:31 1997 +0000
+++ b/Objects/stringobject.c	Tue Jun 03 18:03:18 1997 +0000
@@ -33,6 +33,7 @@
 
 #include "Python.h"
 
+#include "mymath.h"
 #include <ctype.h>
 
 #ifdef COUNT_ALLOCS
@@ -627,8 +628,6 @@
 #define F_ALT	(1<<3)
 #define F_ZERO	(1<<4)
 
-extern double fabs Py_PROTO((double));
-
 static int
 formatfloat(buf, flags, prec, type, v)
 	char *buf;