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>
+2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
+
+ * 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.
+
2018-04-30 Raymond Nicholson <rain1@airmail.cc>
* manual/startup.texi (Aborting a Program): Remove inappropriate joke.
return z;
}
-hidden_def (__exp)
+libm_hidden_def (__exp)
libm_alias_double (__exp, exp)
#endif
# 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)
{
__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. */
return z;
# endif
}
-hidden_def (__expl)
+libm_hidden_def (__expl)
libm_alias_ldouble (__exp, exp)
#endif