diff --git a/lib/msun/src/w_cabsf.c b/lib/msun/src/w_cabsf.c index e7bfe220a9a5..b5065c8a5683 100644 --- a/lib/msun/src/w_cabsf.c +++ b/lib/msun/src/w_cabsf.c @@ -1,23 +1,22 @@ /* * cabsf() wrapper for hypotf(). * * Written by J.T. Conklin, * Placed into the Public Domain, 1994. */ #ifndef lint static const char rcsid[] = "$FreeBSD$"; #endif /* not lint */ #include #include #include "math_private.h" float -cabsf(z) - float complex z; +cabsf(float complex z) { return hypotf(crealf(z), cimagf(z)); } diff --git a/lib/msun/src/w_drem.c b/lib/msun/src/w_drem.c index 0f6840934fef..74008a5c8099 100644 --- a/lib/msun/src/w_drem.c +++ b/lib/msun/src/w_drem.c @@ -1,15 +1,14 @@ /* * drem() wrapper for remainder(). * * Written by J.T. Conklin, * Placed into the Public Domain, 1994. */ #include double -drem(x, y) - double x, y; +drem(double x, double y) { return remainder(x, y); }