diff options
Diffstat (limited to 'math/w_cosh_compat.c')
-rw-r--r-- | math/w_cosh_compat.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_cosh_compat.c b/math/w_cosh_compat.c index d0cb6b165f..6941807d9b 100644 --- a/math/w_cosh_compat.c +++ b/math/w_cosh_compat.c @@ -17,6 +17,7 @@ #include <math.h> #include <math_private.h> #include <math-svid-compat.h> +#include <libm-alias-double.h> #if LIBM_SVID_COMPAT double @@ -29,9 +30,5 @@ __cosh (double x) return z; } -weak_alias (__cosh, cosh) -# ifdef NO_LONG_DOUBLE -strong_alias (__cosh, __coshl) -weak_alias (__cosh, coshl) -# endif +libm_alias_double (__cosh, cosh) #endif |