Browse Source

libm: remove superfluos attribute_hidden, the one in prototype is enough

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 13 years ago
parent
commit
b76e718f66
25 changed files with 29 additions and 29 deletions
  1. 1 1
      libm/e_acos.c
  2. 1 1
      libm/e_acosh.c
  3. 1 1
      libm/e_asin.c
  4. 1 1
      libm/e_atan2.c
  5. 1 1
      libm/e_atanh.c
  6. 1 1
      libm/e_cosh.c
  7. 1 1
      libm/e_exp.c
  8. 1 1
      libm/e_fmod.c
  9. 1 1
      libm/e_hypot.c
  10. 2 2
      libm/e_j0.c
  11. 2 2
      libm/e_j1.c
  12. 2 2
      libm/e_jn.c
  13. 2 2
      libm/e_lgamma_r.c
  14. 1 1
      libm/e_log.c
  15. 1 1
      libm/e_log10.c
  16. 1 1
      libm/e_pow.c
  17. 1 1
      libm/e_rem_pio2.c
  18. 1 1
      libm/e_remainder.c
  19. 1 1
      libm/e_scalb.c
  20. 1 1
      libm/e_sinh.c
  21. 1 1
      libm/e_sqrt.c
  22. 1 1
      libm/k_cos.c
  23. 1 1
      libm/k_rem_pio2.c
  24. 1 1
      libm/k_sin.c
  25. 1 1
      libm/k_tan.c

+ 1 - 1
libm/e_acos.c

@@ -52,7 +52,7 @@ qS2 =  2.02094576023350569471e+00, /* 0x40002AE5, 0x9C598AC8 */
 qS3 = -6.88283971605453293030e-01, /* 0xBFE6066C, 0x1B8D0159 */
 qS4 =  7.70381505559019352791e-02; /* 0x3FB3B8C5, 0xB12E9282 */
 
-double attribute_hidden __ieee754_acos(double x)
+double __ieee754_acos(double x)
 {
 	double z,p,q,r,w,s,c,df;
 	int32_t hx,ix;

+ 1 - 1
libm/e_acosh.c

@@ -30,7 +30,7 @@ static const double
 one	= 1.0,
 ln2	= 6.93147180559945286227e-01;  /* 0x3FE62E42, 0xFEFA39EF */
 
-double attribute_hidden __ieee754_acosh(double x)
+double __ieee754_acosh(double x)
 {
 	double t;
 	int32_t hx;

+ 1 - 1
libm/e_asin.c

@@ -60,7 +60,7 @@ qS2 =  2.02094576023350569471e+00, /* 0x40002AE5, 0x9C598AC8 */
 qS3 = -6.88283971605453293030e-01, /* 0xBFE6066C, 0x1B8D0159 */
 qS4 =  7.70381505559019352791e-02; /* 0x3FB3B8C5, 0xB12E9282 */
 
-double attribute_hidden __ieee754_asin(double x)
+double __ieee754_asin(double x)
 {
 	double t=0.0,w,p,q,c,r,s;
 	int32_t hx,ix;

+ 1 - 1
libm/e_atan2.c

@@ -47,7 +47,7 @@ pi_o_2  = 1.5707963267948965580E+00, /* 0x3FF921FB, 0x54442D18 */
 pi      = 3.1415926535897931160E+00, /* 0x400921FB, 0x54442D18 */
 pi_lo   = 1.2246467991473531772E-16; /* 0x3CA1A626, 0x33145C07 */
 
-double attribute_hidden __ieee754_atan2(double y, double x)
+double __ieee754_atan2(double y, double x)
 {
 	double z;
 	int32_t k,m,hx,hy,ix,iy;

+ 1 - 1
libm/e_atanh.c

@@ -34,7 +34,7 @@ static const double one = 1.0, huge = 1e300;
 
 static const double zero = 0.0;
 
-double attribute_hidden __ieee754_atanh(double x)
+double __ieee754_atanh(double x)
 {
 	double t;
 	int32_t hx,ix;

+ 1 - 1
libm/e_cosh.c

@@ -35,7 +35,7 @@
 
 static const double one = 1.0, half=0.5, huge = 1.0e300;
 
-double attribute_hidden __ieee754_cosh(double x)
+double __ieee754_cosh(double x)
 {
 	double t,w;
 	int32_t ix;

+ 1 - 1
libm/e_exp.c

@@ -93,7 +93,7 @@ P3   =  6.61375632143793436117e-05, /* 0x3F11566A, 0xAF25DE2C */
 P4   = -1.65339022054652515390e-06, /* 0xBEBBBD41, 0xC5D26BF1 */
 P5   =  4.13813679705723846039e-08; /* 0x3E663769, 0x72BEA4D0 */
 
-double attribute_hidden __ieee754_exp(double x)	/* default IEEE double exp */
+double __ieee754_exp(double x)	/* default IEEE double exp */
 {
 	double y;
 	double hi = 0.0;

+ 1 - 1
libm/e_fmod.c

@@ -20,7 +20,7 @@
 
 static const double one = 1.0, Zero[] = {0.0, -0.0,};
 
-double attribute_hidden __ieee754_fmod(double x, double y)
+double __ieee754_fmod(double x, double y)
 {
 	int32_t n,hx,hy,hz,ix,iy,sx,i;
 	u_int32_t lx,ly,lz;

+ 1 - 1
libm/e_hypot.c

@@ -44,7 +44,7 @@
 #include "math.h"
 #include "math_private.h"
 
-double attribute_hidden __ieee754_hypot(double x, double y)
+double __ieee754_hypot(double x, double y)
 {
 	double a=x,b=y,t1,t2,_y1,y2,w;
 	int32_t j,k,ha,hb;

+ 2 - 2
libm/e_j0.c

@@ -76,7 +76,7 @@ S04  =  1.16614003333790000205e-09; /* 0x3E1408BC, 0xF4745D8F */
 
 static const double zero = 0.0;
 
-double attribute_hidden __ieee754_j0(double x)
+double __ieee754_j0(double x)
 {
 	double z, s,c,ss,cc,r,u,v;
 	int32_t hx,ix;
@@ -153,7 +153,7 @@ v02  =  7.60068627350353253702e-05, /* 0x3F13ECBB, 0xF578C6C1 */
 v03  =  2.59150851840457805467e-07, /* 0x3E91642D, 0x7FF202FD */
 v04  =  4.41110311332675467403e-10; /* 0x3DFE5018, 0x3BD6D9EF */
 
-double attribute_hidden __ieee754_y0(double x)
+double __ieee754_y0(double x)
 {
 	double z, s,c,ss,cc,u,v;
 	int32_t hx,ix,lx;

+ 2 - 2
libm/e_j1.c

@@ -77,7 +77,7 @@ s05  =  1.23542274426137913908e-11; /* 0x3DAB2ACF, 0xCFB97ED8 */
 
 static const double zero    = 0.0;
 
-double attribute_hidden __ieee754_j1(double x)
+double __ieee754_j1(double x)
 {
 	double z, s,c,ss,cc,r,u,v,y;
 	int32_t hx,ix;
@@ -150,7 +150,7 @@ static const double V0[5] = {
   1.66559246207992079114e-11, /* 0x3DB25039, 0xDACA772A */
 };
 
-double attribute_hidden __ieee754_y1(double x)
+double __ieee754_y1(double x)
 {
 	double z, s,c,ss,cc,u,v;
 	int32_t hx,ix,lx;

+ 2 - 2
libm/e_jn.c

@@ -45,7 +45,7 @@ one   =  1.00000000000000000000e+00; /* 0x3FF00000, 0x00000000 */
 
 static const double zero  =  0.00000000000000000000e+00;
 
-double attribute_hidden __ieee754_jn(int n, double x)
+double __ieee754_jn(int n, double x)
 {
 	int32_t i,hx,ix,lx, sgn;
 	double a, b, temp=0, di;
@@ -217,7 +217,7 @@ double jn(int n, double x)
 strong_alias(__ieee754_jn, jn)
 #endif
 
-double attribute_hidden __ieee754_yn(int n, double x)
+double __ieee754_yn(int n, double x)
 {
 	int32_t i,hx,ix,lx;
 	int32_t sign;

+ 2 - 2
libm/e_lgamma_r.c

@@ -197,7 +197,7 @@ double sin_pi(double x)
 	return -y;
 }
 
-double attribute_hidden __ieee754_lgamma_r(double x, int *signgamp)
+double __ieee754_lgamma_r(double x, int *signgamp)
 {
 	double t,y,z,nadj=0,p,p1,p2,p3,q,r,w;
 	int i,hx,lx,ix;
@@ -318,7 +318,7 @@ strong_alias(__ieee754_lgamma_r, lgamma_r)
 /* __ieee754_lgamma(x)
  * Return the logarithm of the Gamma function of x.
  */
-double attribute_hidden __ieee754_lgamma(double x)
+double __ieee754_lgamma(double x)
 {
 	return __ieee754_lgamma_r(x, &signgam);
 }

+ 1 - 1
libm/e_log.c

@@ -77,7 +77,7 @@ Lg7 = 1.479819860511658591e-01;  /* 3FC2F112 DF3E5244 */
 
 static const double zero   =  0.0;
 
-double attribute_hidden __ieee754_log(double x)
+double __ieee754_log(double x)
 {
 	double hfsq,f,s,z,R,w,t1,t2,dk;
 	int32_t k,hx,i,j;

+ 1 - 1
libm/e_log10.c

@@ -53,7 +53,7 @@ log10_2lo  =  3.69423907715893078616e-13; /* 0x3D59FEF3, 0x11F12B36 */
 
 static const double zero = 0.0;
 
-double attribute_hidden __ieee754_log10(double x)
+double __ieee754_log10(double x)
 {
 	double y,z;
 	int32_t i,k,hx;

+ 1 - 1
libm/e_pow.c

@@ -91,7 +91,7 @@ ivln2    =  1.44269504088896338700e+00, /* 0x3FF71547, 0x652B82FE =1/ln2 */
 ivln2_h  =  1.44269502162933349609e+00, /* 0x3FF71547, 0x60000000 =24b 1/ln2*/
 ivln2_l  =  1.92596299112661746887e-08; /* 0x3E54AE0B, 0xF85DDF44 =1/ln2 tail*/
 
-double attribute_hidden __ieee754_pow(double x, double y)
+double __ieee754_pow(double x, double y)
 {
 	double z,ax,z_h,z_l,p_h,p_l;
 	double _y1,t1,t2,r,s,t,u,v,w;

+ 1 - 1
libm/e_rem_pio2.c

@@ -66,7 +66,7 @@ pio2_2t =  2.02226624879595063154e-21, /* 0x3BA3198A, 0x2E037073 */
 pio2_3  =  2.02226624871116645580e-21, /* 0x3BA3198A, 0x2E000000 */
 pio2_3t =  8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */
 
-int32_t attribute_hidden __ieee754_rem_pio2(double x, double *y)
+int32_t __ieee754_rem_pio2(double x, double *y)
 {
 	double z=0.0,w,t,r,fn;
 	double tx[3];

+ 1 - 1
libm/e_remainder.c

@@ -23,7 +23,7 @@
 
 static const double zero = 0.0;
 
-double attribute_hidden __ieee754_remainder(double x, double p)
+double __ieee754_remainder(double x, double p)
 {
 	int32_t hx,hp;
 	u_int32_t sx,lx,lp;

+ 1 - 1
libm/e_scalb.c

@@ -19,7 +19,7 @@
 #include "math_private.h"
 #include <errno.h>
 
-double attribute_hidden __ieee754_scalb(double x, double fn)
+double __ieee754_scalb(double x, double fn)
 {
 	if (isnan(x)||isnan(fn)) return x*fn;
 	if (!isfinite(fn)) {

+ 1 - 1
libm/e_sinh.c

@@ -32,7 +32,7 @@
 
 static const double one = 1.0, shuge = 1.0e307;
 
-double attribute_hidden __ieee754_sinh(double x)
+double __ieee754_sinh(double x)
 {
 	double t,w,h;
 	int32_t ix,jx;

+ 1 - 1
libm/e_sqrt.c

@@ -84,7 +84,7 @@
 
 static const double one = 1.0, tiny = 1.0e-300;
 
-double attribute_hidden __ieee754_sqrt(double x)
+double __ieee754_sqrt(double x)
 {
 	double z;
 	int32_t sign = (int)0x80000000;

+ 1 - 1
libm/k_cos.c

@@ -56,7 +56,7 @@ C4  = -2.75573143513906633035e-07, /* 0xBE927E4F, 0x809C52AD */
 C5  =  2.08757232129817482790e-09, /* 0x3E21EE9E, 0xBDB4B1C4 */
 C6  = -1.13596475577881948265e-11; /* 0xBDA8FAE9, 0xBE8838D4 */
 
-double attribute_hidden __kernel_cos(double x, double y)
+double __kernel_cos(double x, double y)
 {
 	double a,hz,z,r,qx;
 	int32_t ix;

+ 1 - 1
libm/k_rem_pio2.c

@@ -147,7 +147,7 @@ one    = 1.0,
 two24   =  1.67772160000000000000e+07, /* 0x41700000, 0x00000000 */
 twon24  =  5.96046447753906250000e-08; /* 0x3E700000, 0x00000000 */
 
-int attribute_hidden __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int32_t *ipio2)
+int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int32_t *ipio2)
 {
 	int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih;
 	double z,fw,f[20],fq[20],q[20];

+ 1 - 1
libm/k_sin.c

@@ -49,7 +49,7 @@ S4  =  2.75573137070700676789e-06, /* 0x3EC71DE3, 0x57B1FE7D */
 S5  = -2.50507602534068634195e-08, /* 0xBE5AE5E6, 0x8A2B9CEB */
 S6  =  1.58969099521155010221e-10; /* 0x3DE5D93A, 0x5ACFD57C */
 
-double attribute_hidden __kernel_sin(double x, double y, int iy)
+double __kernel_sin(double x, double y, int iy)
 {
 	double z,r,v;
 	int32_t ix;

+ 1 - 1
libm/k_tan.c

@@ -66,7 +66,7 @@ T[] =  {
   2.59073051863633712884e-05, /* 0x3EFB2A70, 0x74BF7AD4 */
 };
 
-double attribute_hidden __kernel_tan(double x, double y, int iy)
+double __kernel_tan(double x, double y, int iy)
 {
 	double z,r,v,w,s;
 	int32_t ix,hx;