summary refs log tree commit diff
path: root/math/w_exp2_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_exp2_compat.c')
-rw-r--r--math/w_exp2_compat.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_exp2_compat.c b/math/w_exp2_compat.c
index 5739547859..7ab618292f 100644
--- a/math/w_exp2_compat.c
+++ b/math/w_exp2_compat.c
@@ -5,6 +5,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-double.h>
 
 #if LIBM_SVID_COMPAT
 double
@@ -18,9 +19,5 @@ __exp2 (double x)
 
   return z;
 }
-weak_alias (__exp2, exp2)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__exp2, __exp2l)
-weak_alias (__exp2, exp2l)
-# endif
+libm_alias_double (__exp2, exp2)
 #endif