diff options
Diffstat (limited to 'gcc/fixinc/tests/base/math.h')
-rw-r--r-- | gcc/fixinc/tests/base/math.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/fixinc/tests/base/math.h b/gcc/fixinc/tests/base/math.h index 4d9907c..292e567 100644 --- a/gcc/fixinc/tests/base/math.h +++ b/gcc/fixinc/tests/base/math.h @@ -30,11 +30,6 @@ struct exception; #endif /* BROKEN_CABS_CHECK */ -#if defined( FIX_HEADER_BREAKAGE_CHECK ) -extern double floor(), ceil(), fmod(), fabs _PARAMS((double)); -#endif /* FIX_HEADER_BREAKAGE_CHECK */ - - #if defined( HPUX11_CPP_POW_INLINE_CHECK ) #endif /* HPUX11_CPP_POW_INLINE_CHECK */ @@ -60,23 +55,6 @@ extern double fmod(double, double); #endif /* ISC_FMOD_CHECK */ -#if defined( M88K_BAD_HYPOT_OPT_CHECK ) -extern double hypot(); -/* Workaround a stupid Motorola optimization if one - of x or y is 0.0 and the other is negative! */ -#ifdef __STDC__ -static __inline__ double fake_hypot (double x, double y) -#else -static __inline__ double fake_hypot (x, y) - double x, y; -#endif -{ - return fabs (hypot (x, y)); -} -#define hypot fake_hypot -#endif /* M88K_BAD_HYPOT_OPT_CHECK */ - - #if defined( MATH_EXCEPTION_CHECK ) typedef struct exception t_math_exception; #endif /* MATH_EXCEPTION_CHECK */ |