]> granicus.if.org Git - python/commitdiff
Use #include "mymath.h" instead of declaring fabs() explicitly.
authorGuido van Rossum <guido@python.org>
Tue, 3 Jun 1997 18:03:18 +0000 (18:03 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 3 Jun 1997 18:03:18 +0000 (18:03 +0000)
This should solve a weird problem on the Mac for Jack.

Objects/stringobject.c

index dbcb1a9969bdbc93f51d39a3fbdb0a6741de5d82..5e3f9fac2dec72991c917eccb65382fb7b0f7a61 100644 (file)
@@ -33,6 +33,7 @@ PERFORMANCE OF THIS SOFTWARE.
 
 #include "Python.h"
 
+#include "mymath.h"
 #include <ctype.h>
 
 #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;