Commit 6923e134 authored by Guido van Rossum's avatar Guido van Rossum

Moved prototyes for fmod and pow, and don't use them for THINK C.

parent f5401bd4
...@@ -14,6 +14,11 @@ ...@@ -14,6 +14,11 @@
#include "objimpl.h" #include "objimpl.h"
#include "errors.h" #include "errors.h"
#ifndef THINK_C
extern double fmod PROTO((double, double));
extern double pow PROTO((double, double));
#endif
object * object *
newfloatobject(fval) newfloatobject(fval)
double fval; double fval;
...@@ -157,7 +162,6 @@ float_rem(v, w) ...@@ -157,7 +162,6 @@ float_rem(v, w)
object *w; object *w;
{ {
double wx; double wx;
extern double fmod PROTO((double, double));
if (!is_floatobject(w)) { if (!is_floatobject(w)) {
err_badarg(); err_badarg();
return NULL; return NULL;
...@@ -176,7 +180,6 @@ float_pow(v, w) ...@@ -176,7 +180,6 @@ float_pow(v, w)
object *w; object *w;
{ {
double iv, iw, ix; double iv, iw, ix;
extern double pow PROTO((double, double));
if (!is_floatobject(w)) { if (!is_floatobject(w)) {
err_badarg(); err_badarg();
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment