]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_exp2_compat.c
Use libm_alias_double in math/.
[thirdparty/glibc.git] / math / w_exp2_compat.c
index 573954785940a73e67d6e67096d7c23a71d23c22..7ab618292f1e7c76b21d21d0951fd2a8cf968b1f 100644 (file)
@@ -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