summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-16 09:34:36 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:25 +0200
commitb76e718f66ef93c6c998cb4096645101e028613e (patch)
tree0fb540a548040e5bee1002c25628d210835d979f /libm
parentc61c6d9880739d65e655d1e8b4b491a4010e49c9 (diff)
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>
Diffstat (limited to 'libm')
-rw-r--r--libm/e_acos.c2
-rw-r--r--libm/e_acosh.c2
-rw-r--r--libm/e_asin.c2
-rw-r--r--libm/e_atan2.c2
-rw-r--r--libm/e_atanh.c2
-rw-r--r--libm/e_cosh.c2
-rw-r--r--libm/e_exp.c2
-rw-r--r--libm/e_fmod.c2
-rw-r--r--libm/e_hypot.c2
-rw-r--r--libm/e_j0.c4
-rw-r--r--libm/e_j1.c4
-rw-r--r--libm/e_jn.c4
-rw-r--r--libm/e_lgamma_r.c4
-rw-r--r--libm/e_log.c2
-rw-r--r--libm/e_log10.c2
-rw-r--r--libm/e_pow.c2
-rw-r--r--libm/e_rem_pio2.c2
-rw-r--r--libm/e_remainder.c2
-rw-r--r--libm/e_scalb.c2
-rw-r--r--libm/e_sinh.c2
-rw-r--r--libm/e_sqrt.c2
-rw-r--r--libm/k_cos.c2
-rw-r--r--libm/k_rem_pio2.c2
-rw-r--r--libm/k_sin.c2
-rw-r--r--libm/k_tan.c2
25 files changed, 29 insertions, 29 deletions
diff --git a/libm/e_acos.c b/libm/e_acos.c
index e64ac6485..8d2c880ac 100644
--- a/libm/e_acos.c
+++ b/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;
diff --git a/libm/e_acosh.c b/libm/e_acosh.c
index 219b3d64e..8f509e3b6 100644
--- a/libm/e_acosh.c
+++ b/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;
diff --git a/libm/e_asin.c b/libm/e_asin.c
index fe5d15563..2801b323a 100644
--- a/libm/e_asin.c
+++ b/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;
diff --git a/libm/e_atan2.c b/libm/e_atan2.c
index eb9a70281..ef7ffa9f1 100644
--- a/libm/e_atan2.c
+++ b/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;
diff --git a/libm/e_atanh.c b/libm/e_atanh.c
index 5cf4da3b8..ce8d5c750 100644
--- a/libm/e_atanh.c
+++ b/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;
diff --git a/libm/e_cosh.c b/libm/e_cosh.c
index 1eb5b8303..6923b9300 100644
--- a/libm/e_cosh.c
+++ b/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;
diff --git a/libm/e_exp.c b/libm/e_exp.c
index abfb17675..e82a6db08 100644
--- a/libm/e_exp.c
+++ b/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;
diff --git a/libm/e_fmod.c b/libm/e_fmod.c
index 503ff9254..54062a59f 100644
--- a/libm/e_fmod.c
+++ b/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;
diff --git a/libm/e_hypot.c b/libm/e_hypot.c
index 75674548e..e34338695 100644
--- a/libm/e_hypot.c
+++ b/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;
diff --git a/libm/e_j0.c b/libm/e_j0.c
index ea37460c0..ac2e0eae9 100644
--- a/libm/e_j0.c
+++ b/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;
diff --git a/libm/e_j1.c b/libm/e_j1.c
index 1f674e9cf..807edd8ba 100644
--- a/libm/e_j1.c
+++ b/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;
diff --git a/libm/e_jn.c b/libm/e_jn.c
index 3825bead8..5f7d95adf 100644
--- a/libm/e_jn.c
+++ b/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;
diff --git a/libm/e_lgamma_r.c b/libm/e_lgamma_r.c
index dbb0a0d5d..519dd90bf 100644
--- a/libm/e_lgamma_r.c
+++ b/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);
}
diff --git a/libm/e_log.c b/libm/e_log.c
index 4a82b6e50..2ee03ccc4 100644
--- a/libm/e_log.c
+++ b/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;
diff --git a/libm/e_log10.c b/libm/e_log10.c
index ff2241e56..877572536 100644
--- a/libm/e_log10.c
+++ b/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;
diff --git a/libm/e_pow.c b/libm/e_pow.c
index 1be740e5e..4e22091be 100644
--- a/libm/e_pow.c
+++ b/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;
diff --git a/libm/e_rem_pio2.c b/libm/e_rem_pio2.c
index bdc4235b0..3bbcd0072 100644
--- a/libm/e_rem_pio2.c
+++ b/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];
diff --git a/libm/e_remainder.c b/libm/e_remainder.c
index 3d5ca772a..4ac24f295 100644
--- a/libm/e_remainder.c
+++ b/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;
diff --git a/libm/e_scalb.c b/libm/e_scalb.c
index 3fd78a1c0..8d8f69c78 100644
--- a/libm/e_scalb.c
+++ b/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)) {
diff --git a/libm/e_sinh.c b/libm/e_sinh.c
index 972307e6f..a3dca9ded 100644
--- a/libm/e_sinh.c
+++ b/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;
diff --git a/libm/e_sqrt.c b/libm/e_sqrt.c
index 05e255c2f..98d83c5a8 100644
--- a/libm/e_sqrt.c
+++ b/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;
diff --git a/libm/k_cos.c b/libm/k_cos.c
index ededf253a..f95cc077f 100644
--- a/libm/k_cos.c
+++ b/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;
diff --git a/libm/k_rem_pio2.c b/libm/k_rem_pio2.c
index e34b2c8d4..17ea9386c 100644
--- a/libm/k_rem_pio2.c
+++ b/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];
diff --git a/libm/k_sin.c b/libm/k_sin.c
index 39a1bea91..b670be324 100644
--- a/libm/k_sin.c
+++ b/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;
diff --git a/libm/k_tan.c b/libm/k_tan.c
index 720b51f6d..65cb4a6c4 100644
--- a/libm/k_tan.c
+++ b/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;