summary refs log tree commit diff
path: root/math/w_exp_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_exp_compat.c')
-rw-r--r--math/w_exp_compat.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_exp_compat.c b/math/w_exp_compat.c
index 98aa5b76a0..d5666b7cf7 100644
--- a/math/w_exp_compat.c
+++ b/math/w_exp_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
 /* wrapper exp */
@@ -33,9 +34,5 @@ __exp (double x)
   return z;
 }
 hidden_def (__exp)
-weak_alias (__exp, exp)
-# ifdef NO_LONG_DOUBLE
-strong_alias (__exp, __expl)
-weak_alias (__exp, expl)
-# endif
+libm_alias_double (__exp, exp)
 #endif