From 71160aaffe494ef77ccdbef7ad639f65bd083705 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 3 Jun 1997 18:03:18 +0000 Subject: Use #include "mymath.h" instead of declaring fabs() explicitly. This should solve a weird problem on the Mac for Jack. --- Objects/stringobject.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Objects/stringobject.c b/Objects/stringobject.c index dbcb1a9..5e3f9fa 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -33,6 +33,7 @@ PERFORMANCE OF THIS SOFTWARE. #include "Python.h" +#include "mymath.h" #include #ifdef COUNT_ALLOCS @@ -627,8 +628,6 @@ getnextarg(args, arglen, p_argidx) #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; -- cgit v0.12