From: Kees van Reeuwijk Date: Mon, 15 Feb 2010 14:25:33 +0000 (+0000) Subject: The function fabsf should return a float, not a double. X-Git-Tag: v3.1.7~287 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/openssl_button.gif?a=commitdiff_plain;h=6686e9ae9f8b557dd91898afa8d7379e114292b6;p=minix.git The function fabsf should return a float, not a double. --- diff --git a/include/math.h b/include/math.h index 264fe0f73..a3c8d28ab 100644 --- a/include/math.h +++ b/include/math.h @@ -24,7 +24,7 @@ _PROTOTYPE( double cos, (double _x) ); _PROTOTYPE( double cosh, (double _x) ); _PROTOTYPE( double exp, (double _x) ); _PROTOTYPE( double fabs, (double _x) ); -_PROTOTYPE( double fabsf, (float _x) ); +_PROTOTYPE( float fabsf, (float _x) ); _PROTOTYPE( double floor, (double _x) ); _PROTOTYPE( double fmod, (double _x, double _y) ); _PROTOTYPE( double frexp, (double _x, int *_exp) );