summary refs log tree commit diff
path: root/math/w_log_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_log_compat.c')
-rw-r--r--math/w_log_compat.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_log_compat.c b/math/w_log_compat.c
index 80750b4371..66cce2d55f 100644
--- a/math/w_log_compat.c
+++ b/math/w_log_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 @@ __log (double x)
 
   return  __ieee754_log (x);
 }
-weak_alias (__log, log)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__log, __logl)
-weak_alias (__log, logl)
-# endif
+libm_alias_double (__log, log)
 #endif