about summary refs log tree commit diff
path: root/math/w_pow_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_pow_compat.c')
-rw-r--r--math/w_pow_compat.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_pow_compat.c b/math/w_pow_compat.c
index 4865f4d0d6..929de92fae 100644
--- a/math/w_pow_compat.c
+++ b/math/w_pow_compat.c
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-double.h>
 
 
 #if LIBM_SVID_COMPAT
@@ -59,9 +60,5 @@ __pow (double x, double y)
 
   return z;
 }
-weak_alias (__pow, pow)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__pow, __powl)
-weak_alias (__pow, powl)
-# endif
+libm_alias_double (__pow, pow)
 #endif