]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Moved prototyes for fmod and pow, and don't use them for THINK C.
authorGuido van Rossum <guido@python.org>
Fri, 2 Nov 1990 17:50:43 +0000 (17:50 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 2 Nov 1990 17:50:43 +0000 (17:50 +0000)
Objects/floatobject.c

index 1707c30da68bfb5b387181d8ae446655dae892b6..c2b132e93516568e397e2b1b8b0fd6caf88d242e 100644 (file)
 #include "objimpl.h"
 #include "errors.h"
 
+#ifndef THINK_C
+extern double fmod PROTO((double, double));
+extern double pow PROTO((double, double));
+#endif
+
 object *
 newfloatobject(fval)
        double fval;
@@ -157,7 +162,6 @@ float_rem(v, w)
        object *w;
 {
        double wx;
-       extern double fmod PROTO((double, double));
        if (!is_floatobject(w)) {
                err_badarg();
                return NULL;
@@ -176,7 +180,6 @@ float_pow(v, w)
        object *w;
 {
        double iv, iw, ix;
-       extern double pow PROTO((double, double));
        if (!is_floatobject(w)) {
                err_badarg();
                return NULL;