diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2018-04-30 11:45:42 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2018-04-30 11:45:54 -0300 |
commit | dc115e1cdc369c31296b8287959758fb77f33aaa (patch) | |
tree | c899fdde1a9c938ab1b726be4b39841f57146136 /math/w_exp_template.c | |
parent | 340d9652b9d0e1d4136588f18b726662d195777c (diff) | |
download | glibc-dc115e1cdc369c31296b8287959758fb77f33aaa.tar.gz glibc-dc115e1cdc369c31296b8287959758fb77f33aaa.tar.xz glibc-dc115e1cdc369c31296b8287959758fb77f33aaa.zip |
Replace hidden_def with libm_hidden_def in math
libm_hidden_def expand the parameters and do not require an extra layer of macros. These were the last 3 files in math/ still using hidden_def(). * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def.. * math/w_expl_compat.c: Likewise. * math/w_exp_template.c: Likewise. Remove hidden_def_x. Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'math/w_exp_template.c')
-rw-r--r-- | math/w_exp_template.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/math/w_exp_template.c b/math/w_exp_template.c index 49a3e8f2a1..b24e4056a6 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. */ |