diff options
Diffstat (limited to 'math/w_log10_compat.c')
-rw-r--r-- | math/w_log10_compat.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_log10_compat.c b/math/w_log10_compat.c index b8247aa886..edfbe8b1d7 100644 --- a/math/w_log10_compat.c +++ b/math/w_log10_compat.c @@ -20,6 +20,7 @@ #include <math.h> #include <math_private.h> #include <math-svid-compat.h> +#include <libm-alias-double.h> #if LIBM_SVID_COMPAT @@ -43,9 +44,5 @@ __log10 (double x) return __ieee754_log10 (x); } -weak_alias (__log10, log10) -# ifdef NO_LONG_DOUBLE -strong_alias (__log10, __log10l) -weak_alias (__log10, log10l) -# endif +libm_alias_double (__log10, log10) #endif |