]> sourceware.org Git - glibc.git/commitdiff
Replace hidden_def with libm_hidden_def in math
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Mon, 30 Apr 2018 14:45:42 +0000 (11:45 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Mon, 30 Apr 2018 14:45:54 +0000 (11:45 -0300)
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>
ChangeLog
math/w_exp_compat.c
math/w_exp_template.c
math/w_expl_compat.c

index 881cd27eaf3999a9c71c3b08e16298881b408563..180cca43aa6e43686e32edbd774ce195923b115e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index 5b0f3ad50a7718978036f16000b81163e069c249..ccda100075635035c65d078eb796397198552f8c 100644 (file)
@@ -33,6 +33,6 @@ __exp (double x)
 
   return z;
 }
-hidden_def (__exp)
+libm_hidden_def (__exp)
 libm_alias_double (__exp, exp)
 #endif
index 49a3e8f2a1efc02ae81243ad39e337d0a454e014..b24e4056a6cee384075f9411ac05cb162ffe47ca 100644 (file)
@@ -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.  */
index dda930405ec0c2a078f10cbbf7f6dcf1f56da09e..3c78f575e303808821512576688e900baecbd10b 100644 (file)
@@ -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
This page took 0.095392 seconds and 5 git commands to generate.