diff options
Diffstat (limited to 'math/w_atan2_compat.c')
-rw-r--r-- | math/w_atan2_compat.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_atan2_compat.c b/math/w_atan2_compat.c index 1ca3349207..8162e7b28c 100644 --- a/math/w_atan2_compat.c +++ b/math/w_atan2_compat.c @@ -24,6 +24,7 @@ #include <math.h> #include <math_private.h> #include <math-svid-compat.h> +#include <libm-alias-double.h> #if LIBM_SVID_COMPAT @@ -40,9 +41,5 @@ __atan2 (double y, double x) __set_errno (ERANGE); return z; } -weak_alias (__atan2, atan2) -# ifdef NO_LONG_DOUBLE -strong_alias (__atan2, __atan2l) -weak_alias (__atan2, atan2l) -# endif +libm_alias_double (__atan2, atan2) #endif |