diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/w_exp_compat.c | 2 | ||||
-rw-r--r-- | math/w_exp_template.c | 5 | ||||
-rw-r--r-- | math/w_expl_compat.c | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/math/w_exp_compat.c b/math/w_exp_compat.c index 5b0f3ad..ccda100 100644 --- a/math/w_exp_compat.c +++ b/math/w_exp_compat.c @@ -33,6 +33,6 @@ __exp (double x) return z; } -hidden_def (__exp) +libm_hidden_def (__exp) libm_alias_double (__exp, exp) #endif diff --git a/math/w_exp_template.c b/math/w_exp_template.c index 49a3e8f..b24e405 100644 --- a/math/w_exp_template.c +++ b/math/w_exp_template.c @@ -26,9 +26,6 @@ # include <math.h> # include <math_private.h> -/* Provide an additional macro expansion for hidden_def. */ -#define hidden_def_x(name) hidden_def (name) - FLOAT M_DECL_FUNC (__exp) (FLOAT x) { @@ -38,7 +35,7 @@ M_DECL_FUNC (__exp) (FLOAT x) __set_errno (ERANGE); return z; } -hidden_def_x (M_SUF (__exp)) +libm_hidden_def (M_SUF (__exp)) declare_mgen_alias (__exp, exp) #endif /* __USE_WRAPPER_TEMPLATE. */ diff --git a/math/w_expl_compat.c b/math/w_expl_compat.c index dda9304..3c78f57 100644 --- a/math/w_expl_compat.c +++ b/math/w_expl_compat.c @@ -41,6 +41,6 @@ long double __expl(long double x) /* wrapper exp */ return z; # endif } -hidden_def (__expl) +libm_hidden_def (__expl) libm_alias_ldouble (__exp, exp) #endif |