Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-04 06:43:30 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:26 +0300
commit9087163804df8af6dc2ec1f675a2341c25f7795f (patch)
tree86fcb38236347d0e97a16c957e41dca597b8e8a8 /newlib/libm/mathfp
parent44276afe2a0365d655425702205604640829668d (diff)
ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libm/mathfp')
-rw-r--r--newlib/libm/mathfp/s_acos.c3
-rw-r--r--newlib/libm/mathfp/s_asin.c3
-rw-r--r--newlib/libm/mathfp/s_asine.c3
-rw-r--r--newlib/libm/mathfp/s_atan.c3
-rw-r--r--newlib/libm/mathfp/s_atan2.c3
-rw-r--r--newlib/libm/mathfp/s_atangent.c3
-rw-r--r--newlib/libm/mathfp/s_ceil.c3
-rw-r--r--newlib/libm/mathfp/s_cos.c3
-rw-r--r--newlib/libm/mathfp/s_cosh.c3
-rw-r--r--newlib/libm/mathfp/s_exp.c3
-rw-r--r--newlib/libm/mathfp/s_exp2.c3
-rw-r--r--newlib/libm/mathfp/s_fabs.c3
-rw-r--r--newlib/libm/mathfp/s_floor.c3
-rw-r--r--newlib/libm/mathfp/s_ldexp.c3
-rw-r--r--newlib/libm/mathfp/s_log.c3
-rw-r--r--newlib/libm/mathfp/s_log10.c3
-rw-r--r--newlib/libm/mathfp/s_logarithm.c3
-rw-r--r--newlib/libm/mathfp/s_numtest.c3
-rw-r--r--newlib/libm/mathfp/s_sin.c3
-rw-r--r--newlib/libm/mathfp/s_sincos.c3
-rw-r--r--newlib/libm/mathfp/s_sine.c3
-rw-r--r--newlib/libm/mathfp/s_sineh.c3
-rw-r--r--newlib/libm/mathfp/s_sinf.c3
-rw-r--r--newlib/libm/mathfp/s_sinh.c3
-rw-r--r--newlib/libm/mathfp/s_sqrt.c3
-rw-r--r--newlib/libm/mathfp/s_tan.c3
-rw-r--r--newlib/libm/mathfp/s_tanh.c3
-rw-r--r--newlib/libm/mathfp/sf_acos.c3
-rw-r--r--newlib/libm/mathfp/sf_asin.c3
-rw-r--r--newlib/libm/mathfp/sf_asine.c3
-rw-r--r--newlib/libm/mathfp/sf_atan.c3
-rw-r--r--newlib/libm/mathfp/sf_atan2.c3
-rw-r--r--newlib/libm/mathfp/sf_atangent.c3
-rw-r--r--newlib/libm/mathfp/sf_ceil.c3
-rw-r--r--newlib/libm/mathfp/sf_cos.c3
-rw-r--r--newlib/libm/mathfp/sf_cosh.c3
-rw-r--r--newlib/libm/mathfp/sf_exp.c3
-rw-r--r--newlib/libm/mathfp/sf_exp2.c3
-rw-r--r--newlib/libm/mathfp/sf_fabs.c3
-rw-r--r--newlib/libm/mathfp/sf_floor.c3
-rw-r--r--newlib/libm/mathfp/sf_fmod.c3
-rw-r--r--newlib/libm/mathfp/sf_ldexp.c3
-rw-r--r--newlib/libm/mathfp/sf_log.c3
-rw-r--r--newlib/libm/mathfp/sf_log10.c3
-rw-r--r--newlib/libm/mathfp/sf_logarithm.c3
-rw-r--r--newlib/libm/mathfp/sf_numtest.c3
-rw-r--r--newlib/libm/mathfp/sf_sin.c3
-rw-r--r--newlib/libm/mathfp/sf_sincos.c3
-rw-r--r--newlib/libm/mathfp/sf_sine.c3
-rw-r--r--newlib/libm/mathfp/sf_sineh.c3
-rw-r--r--newlib/libm/mathfp/sf_sinh.c3
-rw-r--r--newlib/libm/mathfp/sf_sqrt.c3
-rw-r--r--newlib/libm/mathfp/sf_tan.c3
-rw-r--r--newlib/libm/mathfp/sf_tanh.c3
54 files changed, 54 insertions, 108 deletions
diff --git a/newlib/libm/mathfp/s_acos.c b/newlib/libm/mathfp/s_acos.c
index d66a5cd26..d0318e1c7 100644
--- a/newlib/libm/mathfp/s_acos.c
+++ b/newlib/libm/mathfp/s_acos.c
@@ -75,8 +75,7 @@ MATHREF
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (acos, (double),
- double x)
+acos (double x)
{
return (asine (x, 1));
}
diff --git a/newlib/libm/mathfp/s_asin.c b/newlib/libm/mathfp/s_asin.c
index 477bbf5cb..b20f0a3f2 100644
--- a/newlib/libm/mathfp/s_asin.c
+++ b/newlib/libm/mathfp/s_asin.c
@@ -20,8 +20,7 @@
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (asin, (double),
- double x)
+asin (double x)
{
return (asine (x, 0));
}
diff --git a/newlib/libm/mathfp/s_asine.c b/newlib/libm/mathfp/s_asine.c
index 28cfaf7a6..9e9073d1f 100644
--- a/newlib/libm/mathfp/s_asine.c
+++ b/newlib/libm/mathfp/s_asine.c
@@ -89,8 +89,7 @@ static const double a[] = { 0.0, 0.78539816339744830962 };
static const double b[] = { 1.57079632679489661923, 0.78539816339744830962 };
double
-_DEFUN (asine, (double, int),
- double x,
+asine (double x,
int acosine)
{
int flag, i;
diff --git a/newlib/libm/mathfp/s_atan.c b/newlib/libm/mathfp/s_atan.c
index 0dd339474..53551e56e 100644
--- a/newlib/libm/mathfp/s_atan.c
+++ b/newlib/libm/mathfp/s_atan.c
@@ -54,8 +54,7 @@ PORTABILITY
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (atan, (double),
- double x)
+atan (double x)
{
switch (numtest (x))
{
diff --git a/newlib/libm/mathfp/s_atan2.c b/newlib/libm/mathfp/s_atan2.c
index 9f71ed9c8..395253905 100644
--- a/newlib/libm/mathfp/s_atan2.c
+++ b/newlib/libm/mathfp/s_atan2.c
@@ -69,8 +69,7 @@ PORTABILITY
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (atan2, (double, double),
- double v,
+atan2 (double v,
double u)
{
return (atangent (0.0, v, u, 1));
diff --git a/newlib/libm/mathfp/s_atangent.c b/newlib/libm/mathfp/s_atangent.c
index 1df39ac50..02675b522 100644
--- a/newlib/libm/mathfp/s_atangent.c
+++ b/newlib/libm/mathfp/s_atangent.c
@@ -85,8 +85,7 @@ static const double p[] = { -0.13688768894191926929e+2,
-0.83758299368150059274 };
double
-_DEFUN (atangent, (double, double, double, int),
- double x,
+atangent (double x,
double v,
double u,
int arctan2)
diff --git a/newlib/libm/mathfp/s_ceil.c b/newlib/libm/mathfp/s_ceil.c
index c6ecbe323..29e4a059d 100644
--- a/newlib/libm/mathfp/s_ceil.c
+++ b/newlib/libm/mathfp/s_ceil.c
@@ -20,8 +20,7 @@
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (ceil, (double),
- double x)
+ceil (double x)
{
double f, y;
diff --git a/newlib/libm/mathfp/s_cos.c b/newlib/libm/mathfp/s_cos.c
index 6f63a404e..7c4029f9d 100644
--- a/newlib/libm/mathfp/s_cos.c
+++ b/newlib/libm/mathfp/s_cos.c
@@ -20,8 +20,7 @@
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (cos, (double),
- double x)
+cos (double x)
{
return (sine (x, 1));
}
diff --git a/newlib/libm/mathfp/s_cosh.c b/newlib/libm/mathfp/s_cosh.c
index 552e5ee5c..bfe665069 100644
--- a/newlib/libm/mathfp/s_cosh.c
+++ b/newlib/libm/mathfp/s_cosh.c
@@ -63,8 +63,7 @@ QUICKREF
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (cosh, (double),
- double x)
+cosh (double x)
{
return (sineh (x, 1));
}
diff --git a/newlib/libm/mathfp/s_exp.c b/newlib/libm/mathfp/s_exp.c
index 362b8b079..bb1beffd7 100644
--- a/newlib/libm/mathfp/s_exp.c
+++ b/newlib/libm/mathfp/s_exp.c
@@ -70,8 +70,7 @@ static const double q[] = { 0.5, 0.56817302698551221787e-1,
0.75104028399870046114e-6 };
double
-_DEFUN (exp, (double),
- double x)
+exp (double x)
{
int N;
double g, z, R, P, Q;
diff --git a/newlib/libm/mathfp/s_exp2.c b/newlib/libm/mathfp/s_exp2.c
index 3bcf7ca2c..c913b3a22 100644
--- a/newlib/libm/mathfp/s_exp2.c
+++ b/newlib/libm/mathfp/s_exp2.c
@@ -9,8 +9,7 @@
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (exp2, (double),
- double x)
+exp2 (double x)
{
return pow(2.0, x);
}
diff --git a/newlib/libm/mathfp/s_fabs.c b/newlib/libm/mathfp/s_fabs.c
index 3d6d83889..10e89ef06 100644
--- a/newlib/libm/mathfp/s_fabs.c
+++ b/newlib/libm/mathfp/s_fabs.c
@@ -51,8 +51,7 @@ PORTABILITY
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (fabs, (double),
- double x)
+fabs (double x)
{
switch (numtest (x))
{
diff --git a/newlib/libm/mathfp/s_floor.c b/newlib/libm/mathfp/s_floor.c
index ebdb9a7b3..e407ea237 100644
--- a/newlib/libm/mathfp/s_floor.c
+++ b/newlib/libm/mathfp/s_floor.c
@@ -62,8 +62,7 @@ PORTABILITY
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (floor, (double),
- double x)
+floor (double x)
{
double f, y;
diff --git a/newlib/libm/mathfp/s_ldexp.c b/newlib/libm/mathfp/s_ldexp.c
index 472093071..6a844e0fe 100644
--- a/newlib/libm/mathfp/s_ldexp.c
+++ b/newlib/libm/mathfp/s_ldexp.c
@@ -63,8 +63,7 @@ PORTABILITY
#define DOUBLE_EXP_OFFS 1023
double
-_DEFUN (ldexp, (double, int),
- double d,
+ldexp (double d,
int e)
{
int exp;
diff --git a/newlib/libm/mathfp/s_log.c b/newlib/libm/mathfp/s_log.c
index 27b959831..e1d33e10b 100644
--- a/newlib/libm/mathfp/s_log.c
+++ b/newlib/libm/mathfp/s_log.c
@@ -20,8 +20,7 @@
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (log, (double),
- double x)
+log (double x)
{
return (logarithm (x, 0));
}
diff --git a/newlib/libm/mathfp/s_log10.c b/newlib/libm/mathfp/s_log10.c
index 9491cff76..d7fed2cfa 100644
--- a/newlib/libm/mathfp/s_log10.c
+++ b/newlib/libm/mathfp/s_log10.c
@@ -51,8 +51,7 @@ PORTABILITY
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (log10, (double),
- double x)
+log10 (double x)
{
return (logarithm (x, 1));
}
diff --git a/newlib/libm/mathfp/s_logarithm.c b/newlib/libm/mathfp/s_logarithm.c
index d14bf2eb4..e8c24200a 100644
--- a/newlib/libm/mathfp/s_logarithm.c
+++ b/newlib/libm/mathfp/s_logarithm.c
@@ -79,8 +79,7 @@ static const double C2 = 1.428606820309417232e-06;
static const double C3 = 0.43429448190325182765;
double
-_DEFUN (logarithm, (double, int),
- double x,
+logarithm (double x,
int ten)
{
int N;
diff --git a/newlib/libm/mathfp/s_numtest.c b/newlib/libm/mathfp/s_numtest.c
index b41bb87f4..a01045fa3 100644
--- a/newlib/libm/mathfp/s_numtest.c
+++ b/newlib/libm/mathfp/s_numtest.c
@@ -25,8 +25,7 @@
#ifndef _DOUBLE_IS_32BITS
int
-_DEFUN (numtest, (double),
- double x)
+numtest (double x)
{
__uint32_t hx, lx;
int exp;
diff --git a/newlib/libm/mathfp/s_sin.c b/newlib/libm/mathfp/s_sin.c
index 2051304e0..c394f8548 100644
--- a/newlib/libm/mathfp/s_sin.c
+++ b/newlib/libm/mathfp/s_sin.c
@@ -20,8 +20,7 @@
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (sin, (double),
- double x)
+sin (double x)
{
return (sine (x, 0));
}
diff --git a/newlib/libm/mathfp/s_sincos.c b/newlib/libm/mathfp/s_sincos.c
index 8fc65ac20..8694dc64d 100644
--- a/newlib/libm/mathfp/s_sincos.c
+++ b/newlib/libm/mathfp/s_sincos.c
@@ -20,8 +20,7 @@
#ifndef _DOUBLE_IS_32BITS
void
-_DEFUN (sincos, (x, sinx, cosx),
- double x,
+sincos (double x,
double *sinx,
double *cosx)
{
diff --git a/newlib/libm/mathfp/s_sine.c b/newlib/libm/mathfp/s_sine.c
index d5e4469a0..7a5f4ddd3 100644
--- a/newlib/libm/mathfp/s_sine.c
+++ b/newlib/libm/mathfp/s_sine.c
@@ -72,8 +72,7 @@ static const double r[] = { -0.16666666666666665052,
0.27204790957888846175e-14 };
double
-_DEFUN (sine, (double, int),
- double x,
+sine (double x,
int cosine)
{
int sgn, N;
diff --git a/newlib/libm/mathfp/s_sineh.c b/newlib/libm/mathfp/s_sineh.c
index 457003ff8..1ca08b84c 100644
--- a/newlib/libm/mathfp/s_sineh.c
+++ b/newlib/libm/mathfp/s_sineh.c
@@ -94,8 +94,7 @@ static const double INV_V2 = 0.24999308500451499336;
static const double V_OVER2_MINUS1 = 0.13830277879601902638e-4;
double
-_DEFUN (sineh, (double, int),
- double x,
+sineh (double x,
int cosineh)
{
double y, f, P, Q, R, res, z, w;
diff --git a/newlib/libm/mathfp/s_sinf.c b/newlib/libm/mathfp/s_sinf.c
index b738a49b9..3e29fedf3 100644
--- a/newlib/libm/mathfp/s_sinf.c
+++ b/newlib/libm/mathfp/s_sinf.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (sinf, (float),
- float x)
+sinf (float x)
{
return (sinef (x, 0));
}
diff --git a/newlib/libm/mathfp/s_sinh.c b/newlib/libm/mathfp/s_sinh.c
index c600ee0da..55b339bfb 100644
--- a/newlib/libm/mathfp/s_sinh.c
+++ b/newlib/libm/mathfp/s_sinh.c
@@ -20,8 +20,7 @@
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (sinh, (double),
- double x)
+sinh (double x)
{
return (sineh (x, 0));
}
diff --git a/newlib/libm/mathfp/s_sqrt.c b/newlib/libm/mathfp/s_sqrt.c
index af3b1d85e..d5df47eec 100644
--- a/newlib/libm/mathfp/s_sqrt.c
+++ b/newlib/libm/mathfp/s_sqrt.c
@@ -62,8 +62,7 @@ PORTABILITY
#ifndef _DOUBLE_IS_32BITS
double
-_DEFUN (sqrt, (double),
- double x)
+sqrt (double x)
{
double f, y;
int exp, i, odd;
diff --git a/newlib/libm/mathfp/s_tan.c b/newlib/libm/mathfp/s_tan.c
index 3910a4c49..f3bfb6988 100644
--- a/newlib/libm/mathfp/s_tan.c
+++ b/newlib/libm/mathfp/s_tan.c
@@ -63,8 +63,7 @@ static const double q[] = { -0.46671683339755294240,
0.49819433993786512270e-6 };
double
-_DEFUN (tan, (double),
- double x)
+tan (double x)
{
double y, f, g, XN, xnum, xden, res;
int N;
diff --git a/newlib/libm/mathfp/s_tanh.c b/newlib/libm/mathfp/s_tanh.c
index 7c92c1750..ed036645b 100644
--- a/newlib/libm/mathfp/s_tanh.c
+++ b/newlib/libm/mathfp/s_tanh.c
@@ -69,8 +69,7 @@ static const double q[] = { 0.48402357071988688686e+4,
0.11274474380534949335e+3 };
double
-_DEFUN (tanh, (double),
- double x)
+tanh (double x)
{
double f, res, g, P, Q, R;
diff --git a/newlib/libm/mathfp/sf_acos.c b/newlib/libm/mathfp/sf_acos.c
index 6bef98041..8631f3b97 100644
--- a/newlib/libm/mathfp/sf_acos.c
+++ b/newlib/libm/mathfp/sf_acos.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (acosf, (float),
- float x)
+acosf (float x)
{
return (asinef (x, 1));
}
diff --git a/newlib/libm/mathfp/sf_asin.c b/newlib/libm/mathfp/sf_asin.c
index 92c33fda3..391ac304e 100644
--- a/newlib/libm/mathfp/sf_asin.c
+++ b/newlib/libm/mathfp/sf_asin.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (asinf, (float),
- float x)
+asinf (float x)
{
return (asinef (x, 0));
}
diff --git a/newlib/libm/mathfp/sf_asine.c b/newlib/libm/mathfp/sf_asine.c
index a74778034..118479678 100644
--- a/newlib/libm/mathfp/sf_asine.c
+++ b/newlib/libm/mathfp/sf_asine.c
@@ -30,8 +30,7 @@ static const float a[] = { 0.0, 0.785398163 };
static const float b[] = { 1.570796326, 0.785398163 };
float
-_DEFUN (asinef, (float, int),
- float x,
+asinef (float x,
int acosine)
{
int flag, i;
diff --git a/newlib/libm/mathfp/sf_atan.c b/newlib/libm/mathfp/sf_atan.c
index f0f522076..03da2a6b0 100644
--- a/newlib/libm/mathfp/sf_atan.c
+++ b/newlib/libm/mathfp/sf_atan.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (atanf, (float),
- float x)
+atanf (float x)
{
switch (numtestf (x))
{
diff --git a/newlib/libm/mathfp/sf_atan2.c b/newlib/libm/mathfp/sf_atan2.c
index e866ecbb8..dfe1d3375 100644
--- a/newlib/libm/mathfp/sf_atan2.c
+++ b/newlib/libm/mathfp/sf_atan2.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (atan2f, (float, float),
- float v,
+atan2f (float v,
float u)
{
return (atangentf (0.0, v, u, 1));
diff --git a/newlib/libm/mathfp/sf_atangent.c b/newlib/libm/mathfp/sf_atangent.c
index 1865cde74..2c96e1544 100644
--- a/newlib/libm/mathfp/sf_atangent.c
+++ b/newlib/libm/mathfp/sf_atangent.c
@@ -31,8 +31,7 @@ static const float q[] = { 0.1412500740e+1 };
static const float p[] = { -0.4708325141, -0.5090958253e-1 };
float
-_DEFUN (atangentf, (float, float, float, int),
- float x,
+atangentf (float x,
float v,
float u,
int arctan2)
diff --git a/newlib/libm/mathfp/sf_ceil.c b/newlib/libm/mathfp/sf_ceil.c
index bc8e1403b..51ddada1f 100644
--- a/newlib/libm/mathfp/sf_ceil.c
+++ b/newlib/libm/mathfp/sf_ceil.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (ceilf, (float),
- float x)
+ceilf (float x)
{
float f, y;
diff --git a/newlib/libm/mathfp/sf_cos.c b/newlib/libm/mathfp/sf_cos.c
index 057663e69..34b7dfdab 100644
--- a/newlib/libm/mathfp/sf_cos.c
+++ b/newlib/libm/mathfp/sf_cos.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (cosf, (float),
- float x)
+cosf (float x)
{
return (sinef (x, 1));
}
diff --git a/newlib/libm/mathfp/sf_cosh.c b/newlib/libm/mathfp/sf_cosh.c
index 4635b7144..c747e907b 100644
--- a/newlib/libm/mathfp/sf_cosh.c
+++ b/newlib/libm/mathfp/sf_cosh.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (coshf, (float),
- float x)
+coshf (float x)
{
return (sinehf (x, 1));
}
diff --git a/newlib/libm/mathfp/sf_exp.c b/newlib/libm/mathfp/sf_exp.c
index e37fac58b..33b3529c8 100644
--- a/newlib/libm/mathfp/sf_exp.c
+++ b/newlib/libm/mathfp/sf_exp.c
@@ -30,8 +30,7 @@ static const float p[] = { 0.249999999950, 0.00416028863 };
static const float q[] = { 0.5, 0.04998717878 };
float
-_DEFUN (expf, (float),
- float x)
+expf (float x)
{
int N;
float g, z, R, P, Q;
diff --git a/newlib/libm/mathfp/sf_exp2.c b/newlib/libm/mathfp/sf_exp2.c
index 7e147c5ed..43a9ae2df 100644
--- a/newlib/libm/mathfp/sf_exp2.c
+++ b/newlib/libm/mathfp/sf_exp2.c
@@ -7,8 +7,7 @@
#include "fdlibm.h"
float
-_DEFUN (exp2f, (float),
- float x)
+exp2f (float x)
{
return powf(2.0, x);
}
diff --git a/newlib/libm/mathfp/sf_fabs.c b/newlib/libm/mathfp/sf_fabs.c
index 2661eabc0..8ee93b162 100644
--- a/newlib/libm/mathfp/sf_fabs.c
+++ b/newlib/libm/mathfp/sf_fabs.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (fabsf, (float),
- float x)
+fabsf (float x)
{
switch (numtestf (x))
{
diff --git a/newlib/libm/mathfp/sf_floor.c b/newlib/libm/mathfp/sf_floor.c
index 1e0fb9e44..4ba295139 100644
--- a/newlib/libm/mathfp/sf_floor.c
+++ b/newlib/libm/mathfp/sf_floor.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (floorf, (float),
- float x)
+floorf (float x)
{
float f, y;
diff --git a/newlib/libm/mathfp/sf_fmod.c b/newlib/libm/mathfp/sf_fmod.c
index 611725409..5dec8a1c9 100644
--- a/newlib/libm/mathfp/sf_fmod.c
+++ b/newlib/libm/mathfp/sf_fmod.c
@@ -25,8 +25,7 @@
static const float one = 1.0, Zero[] = {0.0, -0.0,};
float
-_DEFUN (fmodf, (float, float),
- float x,
+fmodf (float x,
float y)
{
__int32_t n,hx,hy,hz,ix,iy,sx,i;
diff --git a/newlib/libm/mathfp/sf_ldexp.c b/newlib/libm/mathfp/sf_ldexp.c
index 3a0d7a41a..9f05c43a0 100644
--- a/newlib/libm/mathfp/sf_ldexp.c
+++ b/newlib/libm/mathfp/sf_ldexp.c
@@ -23,8 +23,7 @@
#define FLOAT_EXP_OFFS 127
float
-_DEFUN (ldexpf, (float, int),
- float d,
+ldexpf (float d,
int e)
{
int exp;
diff --git a/newlib/libm/mathfp/sf_log.c b/newlib/libm/mathfp/sf_log.c
index b746d444f..c988f764f 100644
--- a/newlib/libm/mathfp/sf_log.c
+++ b/newlib/libm/mathfp/sf_log.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (logf, (float),
- float x)
+logf (float x)
{
return (logarithmf (x, 0));
}
diff --git a/newlib/libm/mathfp/sf_log10.c b/newlib/libm/mathfp/sf_log10.c
index 444e535e0..deb35a378 100644
--- a/newlib/libm/mathfp/sf_log10.c
+++ b/newlib/libm/mathfp/sf_log10.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (log10f, (float),
- float x)
+log10f (float x)
{
return (logarithmf (x, 1));
}
diff --git a/newlib/libm/mathfp/sf_logarithm.c b/newlib/libm/mathfp/sf_logarithm.c
index 855ee0744..37e57251c 100644
--- a/newlib/libm/mathfp/sf_logarithm.c
+++ b/newlib/libm/mathfp/sf_logarithm.c
@@ -31,8 +31,7 @@ static const float C2 = 1.428606820e-06;
static const float C3 = 0.4342944819;
float
-_DEFUN (logarithmf, (float, int),
- float x,
+logarithmf (float x,
int ten)
{
int N;
diff --git a/newlib/libm/mathfp/sf_numtest.c b/newlib/libm/mathfp/sf_numtest.c
index 00bab3a9d..1ad5862b1 100644
--- a/newlib/libm/mathfp/sf_numtest.c
+++ b/newlib/libm/mathfp/sf_numtest.c
@@ -23,8 +23,7 @@
#include "zmath.h"
int
-_DEFUN (numtestf, (float),
- float x)
+numtestf (float x)
{
__int32_t wx;
int exp;
diff --git a/newlib/libm/mathfp/sf_sin.c b/newlib/libm/mathfp/sf_sin.c
index c68e18e50..61ae76b6b 100644
--- a/newlib/libm/mathfp/sf_sin.c
+++ b/newlib/libm/mathfp/sf_sin.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (sinf, (float),
- float x)
+sinf (float x)
{
return (sinef (x, 0));
}
diff --git a/newlib/libm/mathfp/sf_sincos.c b/newlib/libm/mathfp/sf_sincos.c
index 85b393dce..472aa712b 100644
--- a/newlib/libm/mathfp/sf_sincos.c
+++ b/newlib/libm/mathfp/sf_sincos.c
@@ -18,8 +18,7 @@
#include "zmath.h"
void
-_DEFUN (sincosf, (x, sinx, cosx),
- float x,
+sincosf (float x,
float *sinx,
float *cosx)
{
diff --git a/newlib/libm/mathfp/sf_sine.c b/newlib/libm/mathfp/sf_sine.c
index 24725bde1..8dd34d9a1 100644
--- a/newlib/libm/mathfp/sf_sine.c
+++ b/newlib/libm/mathfp/sf_sine.c
@@ -32,8 +32,7 @@ static const float r[] = { -0.1666665668,
0.2601903036e-5 };
float
-_DEFUN (sinef, (float, int),
- float x,
+sinef (float x,
int cosine)
{
int sgn, N;
diff --git a/newlib/libm/mathfp/sf_sineh.c b/newlib/libm/mathfp/sf_sineh.c
index 966e91362..83665bdc3 100644
--- a/newlib/libm/mathfp/sf_sineh.c
+++ b/newlib/libm/mathfp/sf_sineh.c
@@ -32,8 +32,7 @@ static const float INV_V2 = 0.2499930850;
static const float V_OVER2_MINUS1 = 0.1383027787e-4;
float
-_DEFUN (sinehf, (float, int),
- float x,
+sinehf (float x,
int cosineh)
{
float y, f, P, Q, R, res, z, w;
diff --git a/newlib/libm/mathfp/sf_sinh.c b/newlib/libm/mathfp/sf_sinh.c
index a50e56606..78cbef90d 100644
--- a/newlib/libm/mathfp/sf_sinh.c
+++ b/newlib/libm/mathfp/sf_sinh.c
@@ -18,8 +18,7 @@
#include "zmath.h"
float
-_DEFUN (sinhf, (float),
- float x)
+sinhf (float x)
{
return (sinehf (x, 0));
}
diff --git a/newlib/libm/mathfp/sf_sqrt.c b/newlib/libm/mathfp/sf_sqrt.c
index 5d5410dce..ede24b987 100644
--- a/newlib/libm/mathfp/sf_sqrt.c
+++ b/newlib/libm/mathfp/sf_sqrt.c
@@ -32,8 +32,7 @@
#include "zmath.h"
float
-_DEFUN (sqrtf, (float),
- float x)
+sqrtf (float x)
{
float f, y;
int exp, i, odd;
diff --git a/newlib/libm/mathfp/sf_tan.c b/newlib/libm/mathfp/sf_tan.c
index fcde19ab3..7924bd217 100644
--- a/newlib/libm/mathfp/sf_tan.c
+++ b/newlib/libm/mathfp/sf_tan.c
@@ -29,8 +29,7 @@ static const float q[] = { -0.429135777,
0.971685835e-2 };
float
-_DEFUN (tanf, (float),
- float x)
+tanf (float x)
{
float y, f, g, XN, xnum, xden, res;
int N;
diff --git a/newlib/libm/mathfp/sf_tanh.c b/newlib/libm/mathfp/sf_tanh.c
index 51806af45..7da600a9c 100644
--- a/newlib/libm/mathfp/sf_tanh.c
+++ b/newlib/libm/mathfp/sf_tanh.c
@@ -31,8 +31,7 @@ static const float q[] = { 0.6178299136,
0.25 };
float
-_DEFUN (tanhf, (float),
- float x)
+tanhf (float x)
{
float f, res, g, P, Q, R;