Mercurial > cpython-lru_cache-weakref
diff Objects/floatobject.c @ 60:4f593b38d061 legacy-trunk
Moved prototyes for fmod and pow, and don't use them for THINK C.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 02 Nov 1990 17:50:43 +0000 |
| parents | ce6f24711504 |
| children | a6934380c6e7 |
line wrap: on
line diff
--- a/Objects/floatobject.c Fri Nov 02 17:50:28 1990 +0000 +++ b/Objects/floatobject.c Fri Nov 02 17:50:43 1990 +0000 @@ -14,6 +14,11 @@ #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 @@ object *w; { double wx; - extern double fmod PROTO((double, double)); if (!is_floatobject(w)) { err_badarg(); return NULL; @@ -176,7 +180,6 @@ object *w; { double iv, iw, ix; - extern double pow PROTO((double, double)); if (!is_floatobject(w)) { err_badarg(); return NULL;
