git: 0dd5a5603e7a - main - lib/msun: Cleanup after $FreeBSD$ removal
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jan 2024 15:01:01 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0dd5a5603e7a33d976f8e6015620bbc79839c609
commit 0dd5a5603e7a33d976f8e6015620bbc79839c609
Author: Steve Kargl <kargl@FreeBSD.org>
AuthorDate: 2024-01-28 09:14:50 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-01-28 15:00:23 +0000
lib/msun: Cleanup after $FreeBSD$ removal
Remove no longer needed explicit inclusion of sys/cdefs.h.
PR: 276669
MFC after: 1 week
---
lib/msun/bsdsrc/b_exp.c | 1 -
lib/msun/bsdsrc/b_log.c | 1 -
lib/msun/bsdsrc/b_tgamma.c | 1 -
lib/msun/bsdsrc/mathimpl.h | 1 -
lib/msun/i387/invtrig.c | 1 -
lib/msun/ld128/e_lgammal_r.c | 1 -
lib/msun/ld128/e_powl.c | 1 -
lib/msun/ld128/e_rem_pio2l.h | 1 -
lib/msun/ld128/invtrig.c | 1 -
lib/msun/ld128/k_cosl.c | 1 -
lib/msun/ld128/k_expl.h | 1 -
lib/msun/ld128/k_sinl.c | 1 -
lib/msun/ld128/k_tanl.c | 1 -
lib/msun/ld128/s_cexpl.c | 1 -
lib/msun/ld128/s_erfl.c | 1 -
lib/msun/ld128/s_exp2l.c | 1 -
lib/msun/ld128/s_expl.c | 1 -
lib/msun/ld128/s_logl.c | 1 -
lib/msun/ld80/e_lgammal_r.c | 1 -
lib/msun/ld80/e_powl.c | 2 --
lib/msun/ld80/e_rem_pio2l.h | 1 -
lib/msun/ld80/invtrig.c | 1 -
lib/msun/ld80/k_cosl.c | 1 -
lib/msun/ld80/k_expl.h | 1 -
lib/msun/ld80/k_sinl.c | 1 -
lib/msun/ld80/k_tanl.c | 1 -
lib/msun/ld80/s_cexpl.c | 1 -
lib/msun/ld80/s_erfl.c | 1 -
lib/msun/ld80/s_exp2l.c | 1 -
lib/msun/ld80/s_expl.c | 1 -
lib/msun/ld80/s_logl.c | 1 -
lib/msun/src/catrig.c | 1 -
lib/msun/src/catrigf.c | 1 -
lib/msun/src/catrigl.c | 1 -
lib/msun/src/e_acos.c | 1 -
lib/msun/src/e_acosf.c | 1 -
lib/msun/src/e_acosh.c | 1 -
lib/msun/src/e_acoshf.c | 1 -
lib/msun/src/e_acoshl.c | 1 -
lib/msun/src/e_acosl.c | 1 -
lib/msun/src/e_asin.c | 1 -
lib/msun/src/e_asinf.c | 1 -
lib/msun/src/e_asinl.c | 1 -
lib/msun/src/e_atan2.c | 1 -
lib/msun/src/e_atan2f.c | 1 -
lib/msun/src/e_atan2l.c | 1 -
lib/msun/src/e_atanh.c | 1 -
lib/msun/src/e_atanhf.c | 1 -
lib/msun/src/e_atanhl.c | 1 -
lib/msun/src/e_cosh.c | 1 -
lib/msun/src/e_coshf.c | 1 -
lib/msun/src/e_coshl.c | 1 -
lib/msun/src/e_exp.c | 1 -
lib/msun/src/e_expf.c | 1 -
lib/msun/src/e_fmod.c | 1 -
lib/msun/src/e_fmodf.c | 1 -
lib/msun/src/e_fmodl.c | 1 -
lib/msun/src/e_gamma.c | 1 -
lib/msun/src/e_gamma_r.c | 1 -
lib/msun/src/e_gammaf.c | 1 -
lib/msun/src/e_gammaf_r.c | 1 -
lib/msun/src/e_hypot.c | 1 -
lib/msun/src/e_hypotf.c | 1 -
lib/msun/src/e_hypotl.c | 1 -
lib/msun/src/e_j0.c | 1 -
lib/msun/src/e_j0f.c | 1 -
lib/msun/src/e_j1.c | 1 -
lib/msun/src/e_j1f.c | 1 -
lib/msun/src/e_jn.c | 1 -
lib/msun/src/e_jnf.c | 1 -
lib/msun/src/e_lgamma.c | 1 -
lib/msun/src/e_lgamma_r.c | 1 -
lib/msun/src/e_lgammaf.c | 1 -
lib/msun/src/e_lgammaf_r.c | 1 -
lib/msun/src/e_lgammal.c | 1 -
lib/msun/src/e_log.c | 1 -
lib/msun/src/e_log10.c | 1 -
lib/msun/src/e_log10f.c | 1 -
lib/msun/src/e_log2.c | 1 -
lib/msun/src/e_log2f.c | 1 -
lib/msun/src/e_logf.c | 1 -
lib/msun/src/e_pow.c | 1 -
lib/msun/src/e_powf.c | 1 -
lib/msun/src/e_rem_pio2.c | 1 -
lib/msun/src/e_rem_pio2f.c | 1 -
lib/msun/src/e_remainder.c | 1 -
lib/msun/src/e_remainderf.c | 1 -
lib/msun/src/e_remainderl.c | 1 -
lib/msun/src/e_scalb.c | 1 -
lib/msun/src/e_scalbf.c | 1 -
lib/msun/src/e_sinh.c | 1 -
lib/msun/src/e_sinhf.c | 1 -
lib/msun/src/e_sinhl.c | 1 -
lib/msun/src/e_sqrt.c | 1 -
lib/msun/src/e_sqrtl.c | 1 -
lib/msun/src/k_cos.c | 1 -
lib/msun/src/k_cosf.c | 4 ----
lib/msun/src/k_exp.c | 1 -
lib/msun/src/k_expf.c | 1 -
lib/msun/src/k_log.h | 1 -
lib/msun/src/k_logf.h | 1 -
lib/msun/src/k_rem_pio2.c | 1 -
lib/msun/src/k_sin.c | 1 -
lib/msun/src/k_sincos.h | 1 -
lib/msun/src/k_sincosf.h | 1 -
lib/msun/src/k_sincosl.h | 1 -
lib/msun/src/k_sinf.c | 4 ----
lib/msun/src/k_tan.c | 2 --
lib/msun/src/k_tanf.c | 4 ----
lib/msun/src/math.h | 1 -
lib/msun/src/s_asinh.c | 1 -
lib/msun/src/s_asinhf.c | 1 -
lib/msun/src/s_asinhl.c | 1 -
lib/msun/src/s_atan.c | 1 -
lib/msun/src/s_atanf.c | 1 -
lib/msun/src/s_atanl.c | 1 -
lib/msun/src/s_carg.c | 1 -
lib/msun/src/s_cargf.c | 1 -
lib/msun/src/s_cargl.c | 1 -
lib/msun/src/s_cbrt.c | 1 -
lib/msun/src/s_cbrtf.c | 1 -
lib/msun/src/s_cbrtl.c | 1 -
lib/msun/src/s_ccosh.c | 1 -
lib/msun/src/s_ccoshf.c | 1 -
lib/msun/src/s_ceil.c | 1 -
lib/msun/src/s_ceilf.c | 1 -
lib/msun/src/s_ceill.c | 1 -
lib/msun/src/s_cexp.c | 1 -
lib/msun/src/s_cexpf.c | 1 -
lib/msun/src/s_clog.c | 1 -
lib/msun/src/s_clogf.c | 1 -
lib/msun/src/s_clogl.c | 1 -
lib/msun/src/s_copysign.c | 1 -
lib/msun/src/s_copysignf.c | 1 -
lib/msun/src/s_cos.c | 1 -
lib/msun/src/s_cosf.c | 1 -
lib/msun/src/s_cosl.c | 1 -
lib/msun/src/s_cpow.c | 1 -
lib/msun/src/s_cpowf.c | 1 -
lib/msun/src/s_cpowl.c | 1 -
lib/msun/src/s_cproj.c | 1 -
lib/msun/src/s_cprojf.c | 1 -
lib/msun/src/s_cprojl.c | 1 -
lib/msun/src/s_csinh.c | 1 -
lib/msun/src/s_csinhf.c | 1 -
lib/msun/src/s_csqrt.c | 1 -
lib/msun/src/s_csqrtf.c | 1 -
lib/msun/src/s_csqrtl.c | 1 -
lib/msun/src/s_ctanh.c | 1 -
lib/msun/src/s_ctanhf.c | 1 -
lib/msun/src/s_erf.c | 1 -
lib/msun/src/s_erff.c | 1 -
lib/msun/src/s_exp2.c | 1 -
lib/msun/src/s_exp2f.c | 1 -
lib/msun/src/s_expm1.c | 1 -
lib/msun/src/s_expm1f.c | 1 -
lib/msun/src/s_fabs.c | 1 -
lib/msun/src/s_fabsf.c | 1 -
lib/msun/src/s_fdim.c | 1 -
lib/msun/src/s_finite.c | 1 -
lib/msun/src/s_finitef.c | 1 -
lib/msun/src/s_floor.c | 1 -
lib/msun/src/s_floorf.c | 1 -
lib/msun/src/s_floorl.c | 1 -
lib/msun/src/s_fma.c | 1 -
lib/msun/src/s_fmaf.c | 1 -
lib/msun/src/s_fmal.c | 1 -
lib/msun/src/s_fmax.c | 1 -
lib/msun/src/s_fmaxf.c | 1 -
lib/msun/src/s_fmaxl.c | 1 -
lib/msun/src/s_fmin.c | 1 -
lib/msun/src/s_fminf.c | 1 -
lib/msun/src/s_fminl.c | 1 -
lib/msun/src/s_frexp.c | 1 -
lib/msun/src/s_frexpf.c | 1 -
lib/msun/src/s_ilogb.c | 1 -
lib/msun/src/s_ilogbf.c | 1 -
lib/msun/src/s_ilogbl.c | 1 -
lib/msun/src/s_llrint.c | 1 -
lib/msun/src/s_llrintf.c | 1 -
lib/msun/src/s_llrintl.c | 1 -
lib/msun/src/s_llround.c | 1 -
lib/msun/src/s_llroundf.c | 1 -
lib/msun/src/s_llroundl.c | 1 -
lib/msun/src/s_log1p.c | 1 -
lib/msun/src/s_log1pf.c | 1 -
lib/msun/src/s_logb.c | 1 -
lib/msun/src/s_logbf.c | 1 -
lib/msun/src/s_logbl.c | 1 -
lib/msun/src/s_lrint.c | 1 -
lib/msun/src/s_lrintf.c | 1 -
lib/msun/src/s_lrintl.c | 1 -
lib/msun/src/s_lround.c | 1 -
lib/msun/src/s_lroundf.c | 1 -
lib/msun/src/s_lroundl.c | 1 -
lib/msun/src/s_modff.c | 1 -
lib/msun/src/s_nearbyint.c | 1 -
lib/msun/src/s_nextafter.c | 1 -
lib/msun/src/s_nextafterf.c | 1 -
lib/msun/src/s_nextafterl.c | 1 -
lib/msun/src/s_nexttoward.c | 1 -
lib/msun/src/s_nexttowardf.c | 1 -
lib/msun/src/s_remquo.c | 1 -
lib/msun/src/s_remquof.c | 1 -
lib/msun/src/s_remquol.c | 1 -
lib/msun/src/s_rint.c | 1 -
lib/msun/src/s_rintf.c | 1 -
lib/msun/src/s_rintl.c | 1 -
lib/msun/src/s_round.c | 1 -
lib/msun/src/s_roundf.c | 1 -
lib/msun/src/s_roundl.c | 1 -
lib/msun/src/s_scalbln.c | 1 -
lib/msun/src/s_significand.c | 1 -
lib/msun/src/s_significandf.c | 1 -
lib/msun/src/s_sin.c | 1 -
lib/msun/src/s_sincos.c | 1 -
lib/msun/src/s_sincosf.c | 1 -
lib/msun/src/s_sincosl.c | 1 -
lib/msun/src/s_sinf.c | 1 -
lib/msun/src/s_sinl.c | 1 -
lib/msun/src/s_tan.c | 1 -
lib/msun/src/s_tanf.c | 1 -
lib/msun/src/s_tanh.c | 1 -
lib/msun/src/s_tanhf.c | 1 -
lib/msun/src/s_tanhl.c | 1 -
lib/msun/src/s_tanl.c | 1 -
lib/msun/src/s_tgammaf.c | 1 -
lib/msun/src/s_trunc.c | 1 -
lib/msun/src/s_truncf.c | 1 -
lib/msun/src/s_truncl.c | 1 -
lib/msun/src/w_cabs.c | 1 -
lib/msun/src/w_cabsl.c | 1 -
lib/msun/tests/rem_test.c | 1 -
233 files changed, 244 deletions(-)
diff --git a/lib/msun/bsdsrc/b_exp.c b/lib/msun/bsdsrc/b_exp.c
index 112717303ccd..44cd5190de92 100644
--- a/lib/msun/bsdsrc/b_exp.c
+++ b/lib/msun/bsdsrc/b_exp.c
@@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
/* EXP(X)
* RETURN THE EXPONENTIAL OF X
* DOUBLE PRECISION (IEEE 53 bits, VAX D FORMAT 56 BITS)
diff --git a/lib/msun/bsdsrc/b_log.c b/lib/msun/bsdsrc/b_log.c
index 64ca87e53b81..a82140bb98b5 100644
--- a/lib/msun/bsdsrc/b_log.c
+++ b/lib/msun/bsdsrc/b_log.c
@@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
/* Table-driven natural logarithm.
*
* This code was derived, with minor modifications, from:
diff --git a/lib/msun/bsdsrc/b_tgamma.c b/lib/msun/bsdsrc/b_tgamma.c
index 07597cacf998..8369477c18b7 100644
--- a/lib/msun/bsdsrc/b_tgamma.c
+++ b/lib/msun/bsdsrc/b_tgamma.c
@@ -42,7 +42,6 @@
* porting to other precisions.
*/
-#include <sys/cdefs.h>
#include <float.h>
#include "math.h"
diff --git a/lib/msun/bsdsrc/mathimpl.h b/lib/msun/bsdsrc/mathimpl.h
index c8a0ceb4f6ef..a4d081c3f02f 100644
--- a/lib/msun/bsdsrc/mathimpl.h
+++ b/lib/msun/bsdsrc/mathimpl.h
@@ -36,7 +36,6 @@
#ifndef _MATHIMPL_H_
#define _MATHIMPL_H_
-#include <sys/cdefs.h>
#include <math.h>
#include "../src/math_private.h"
diff --git a/lib/msun/i387/invtrig.c b/lib/msun/i387/invtrig.c
index 523f022e0546..50d8d3af9343 100644
--- a/lib/msun/i387/invtrig.c
+++ b/lib/msun/i387/invtrig.c
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <stdint.h>
#define STRUCT_DECLS
diff --git a/lib/msun/ld128/e_lgammal_r.c b/lib/msun/ld128/e_lgammal_r.c
index 4a8faca7befd..f8079b79d7fa 100644
--- a/lib/msun/ld128/e_lgammal_r.c
+++ b/lib/msun/ld128/e_lgammal_r.c
@@ -9,7 +9,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* See e_lgamma_r.c for complete comments.
*
diff --git a/lib/msun/ld128/e_powl.c b/lib/msun/ld128/e_powl.c
index fd8b57b66bd5..f5a993cf0054 100644
--- a/lib/msun/ld128/e_powl.c
+++ b/lib/msun/ld128/e_powl.c
@@ -59,7 +59,6 @@
*
*/
-#include <sys/cdefs.h>
#include <float.h>
#include <math.h>
diff --git a/lib/msun/ld128/e_rem_pio2l.h b/lib/msun/ld128/e_rem_pio2l.h
index 028705ca5ceb..44ec6eb10bfd 100644
--- a/lib/msun/ld128/e_rem_pio2l.h
+++ b/lib/msun/ld128/e_rem_pio2l.h
@@ -12,7 +12,6 @@
* Optimized by Bruce D. Evans.
*/
-#include <sys/cdefs.h>
/* ld128 version of __ieee754_rem_pio2l(x,y)
*
* return the remainder of x rem pi/2 in y[0]+y[1]
diff --git a/lib/msun/ld128/invtrig.c b/lib/msun/ld128/invtrig.c
index cd9a276b68d1..75aef7b5166a 100644
--- a/lib/msun/ld128/invtrig.c
+++ b/lib/msun/ld128/invtrig.c
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include "invtrig.h"
/*
diff --git a/lib/msun/ld128/k_cosl.c b/lib/msun/ld128/k_cosl.c
index 6ff15eb7c763..c7562664bd3c 100644
--- a/lib/msun/ld128/k_cosl.c
+++ b/lib/msun/ld128/k_cosl.c
@@ -10,7 +10,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* ld128 version of k_cos.c. See ../src/k_cos.c for most comments.
*/
diff --git a/lib/msun/ld128/k_expl.h b/lib/msun/ld128/k_expl.h
index 71924f16c8a4..86811dd8e089 100644
--- a/lib/msun/ld128/k_expl.h
+++ b/lib/msun/ld128/k_expl.h
@@ -30,7 +30,6 @@
* Optimized by Bruce D. Evans.
*/
-#include <sys/cdefs.h>
/*
* ld128 version of k_expl.h. See ../ld80/s_expl.c for most comments.
*
diff --git a/lib/msun/ld128/k_sinl.c b/lib/msun/ld128/k_sinl.c
index 5874d0596235..f2b17ba0eeb3 100644
--- a/lib/msun/ld128/k_sinl.c
+++ b/lib/msun/ld128/k_sinl.c
@@ -10,7 +10,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* ld128 version of k_sin.c. See ../src/k_sin.c for most comments.
*/
diff --git a/lib/msun/ld128/k_tanl.c b/lib/msun/ld128/k_tanl.c
index 0846acfd3335..8aff0d1fc0d3 100644
--- a/lib/msun/ld128/k_tanl.c
+++ b/lib/msun/ld128/k_tanl.c
@@ -9,7 +9,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* ld128 version of k_tan.c. See ../src/k_tan.c for most comments.
*/
diff --git a/lib/msun/ld128/s_cexpl.c b/lib/msun/ld128/s_cexpl.c
index 1e4141f162c5..9e3eebfa750e 100644
--- a/lib/msun/ld128/s_cexpl.c
+++ b/lib/msun/ld128/s_cexpl.c
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <complex.h>
#include <float.h>
#include <math.h>
diff --git a/lib/msun/ld128/s_erfl.c b/lib/msun/ld128/s_erfl.c
index 8a3c5d311df2..227c31fd096b 100644
--- a/lib/msun/ld128/s_erfl.c
+++ b/lib/msun/ld128/s_erfl.c
@@ -9,7 +9,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* See s_erf.c for complete comments.
*
diff --git a/lib/msun/ld128/s_exp2l.c b/lib/msun/ld128/s_exp2l.c
index 74ae8c2daad8..249cb4cb8bb0 100644
--- a/lib/msun/ld128/s_exp2l.c
+++ b/lib/msun/ld128/s_exp2l.c
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <float.h>
#include <stdint.h>
diff --git a/lib/msun/ld128/s_expl.c b/lib/msun/ld128/s_expl.c
index 6d6c22d917fe..e1358e2213a0 100644
--- a/lib/msun/ld128/s_expl.c
+++ b/lib/msun/ld128/s_expl.c
@@ -28,7 +28,6 @@
* Optimized by Bruce D. Evans.
*/
-#include <sys/cdefs.h>
/*
* ld128 version of s_expl.c. See ../ld80/s_expl.c for most comments.
*/
diff --git a/lib/msun/ld128/s_logl.c b/lib/msun/ld128/s_logl.c
index 8961dd0c96db..4d32462e5653 100644
--- a/lib/msun/ld128/s_logl.c
+++ b/lib/msun/ld128/s_logl.c
@@ -26,7 +26,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
/**
* Implementation of the natural logarithm of x for 128-bit format.
*
diff --git a/lib/msun/ld80/e_lgammal_r.c b/lib/msun/ld80/e_lgammal_r.c
index 29459fd614d5..9f8b8f0f98bb 100644
--- a/lib/msun/ld80/e_lgammal_r.c
+++ b/lib/msun/ld80/e_lgammal_r.c
@@ -9,7 +9,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* See e_lgamma_r.c for complete comments.
*
diff --git a/lib/msun/ld80/e_powl.c b/lib/msun/ld80/e_powl.c
index 2daf26aab93b..b028d3cb7ff2 100644
--- a/lib/msun/ld80/e_powl.c
+++ b/lib/msun/ld80/e_powl.c
@@ -14,7 +14,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/cdefs.h>
#include <math.h>
#include "math_private.h"
@@ -114,7 +113,6 @@ __p1evll(long double x, long double *PP, int n)
*
*/
-#include <sys/cdefs.h>
#include <float.h>
#include <math.h>
diff --git a/lib/msun/ld80/e_rem_pio2l.h b/lib/msun/ld80/e_rem_pio2l.h
index b32a5f1c7922..d0a4710bc4e2 100644
--- a/lib/msun/ld80/e_rem_pio2l.h
+++ b/lib/msun/ld80/e_rem_pio2l.h
@@ -12,7 +12,6 @@
* Optimized by Bruce D. Evans.
*/
-#include <sys/cdefs.h>
/* ld80 version of __ieee754_rem_pio2l(x,y)
*
* return the remainder of x rem pi/2 in y[0]+y[1]
diff --git a/lib/msun/ld80/invtrig.c b/lib/msun/ld80/invtrig.c
index 0e2d49546391..76eb681454d3 100644
--- a/lib/msun/ld80/invtrig.c
+++ b/lib/msun/ld80/invtrig.c
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include "invtrig.h"
/*
diff --git a/lib/msun/ld80/k_cosl.c b/lib/msun/ld80/k_cosl.c
index 28848cc62e41..371c360aa2ce 100644
--- a/lib/msun/ld80/k_cosl.c
+++ b/lib/msun/ld80/k_cosl.c
@@ -10,7 +10,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* ld80 version of k_cos.c. See ../src/k_cos.c for most comments.
*/
diff --git a/lib/msun/ld80/k_expl.h b/lib/msun/ld80/k_expl.h
index 8c3617e4b177..fabf5a792205 100644
--- a/lib/msun/ld80/k_expl.h
+++ b/lib/msun/ld80/k_expl.h
@@ -30,7 +30,6 @@
* Optimized by Bruce D. Evans.
*/
-#include <sys/cdefs.h>
/*
* See s_expl.c for more comments about __k_expl().
*
diff --git a/lib/msun/ld80/k_sinl.c b/lib/msun/ld80/k_sinl.c
index c2910993556a..ffc00be23f1c 100644
--- a/lib/msun/ld80/k_sinl.c
+++ b/lib/msun/ld80/k_sinl.c
@@ -10,7 +10,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* ld80 version of k_sin.c. See ../src/k_sin.c for most comments.
*/
diff --git a/lib/msun/ld80/k_tanl.c b/lib/msun/ld80/k_tanl.c
index f86c6cc93c6a..b3a4d9e05255 100644
--- a/lib/msun/ld80/k_tanl.c
+++ b/lib/msun/ld80/k_tanl.c
@@ -9,7 +9,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* ld80 version of k_tan.c. See ../src/k_tan.c for most comments.
*/
diff --git a/lib/msun/ld80/s_cexpl.c b/lib/msun/ld80/s_cexpl.c
index 81a4d727561b..cbe9dcd64099 100644
--- a/lib/msun/ld80/s_cexpl.c
+++ b/lib/msun/ld80/s_cexpl.c
@@ -28,7 +28,6 @@
* src/s_cexp.c converted to long double complex by Steven G. Kargl
*/
-#include <sys/cdefs.h>
#include <complex.h>
#include <float.h>
#ifdef __i386__
diff --git a/lib/msun/ld80/s_erfl.c b/lib/msun/ld80/s_erfl.c
index e33858b95115..047077ca4470 100644
--- a/lib/msun/ld80/s_erfl.c
+++ b/lib/msun/ld80/s_erfl.c
@@ -9,7 +9,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* See s_erf.c for complete comments.
*
diff --git a/lib/msun/ld80/s_exp2l.c b/lib/msun/ld80/s_exp2l.c
index 94aecf1843cd..9d979994ece8 100644
--- a/lib/msun/ld80/s_exp2l.c
+++ b/lib/msun/ld80/s_exp2l.c
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <float.h>
#include <stdint.h>
diff --git a/lib/msun/ld80/s_expl.c b/lib/msun/ld80/s_expl.c
index 065e02fae1b0..03d7b366151a 100644
--- a/lib/msun/ld80/s_expl.c
+++ b/lib/msun/ld80/s_expl.c
@@ -28,7 +28,6 @@
* Optimized by Bruce D. Evans.
*/
-#include <sys/cdefs.h>
/**
* Compute the exponential of x for Intel 80-bit format. This is based on:
*
diff --git a/lib/msun/ld80/s_logl.c b/lib/msun/ld80/s_logl.c
index 459374d7d164..2c5d1e2dd08f 100644
--- a/lib/msun/ld80/s_logl.c
+++ b/lib/msun/ld80/s_logl.c
@@ -26,7 +26,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
/**
* Implementation of the natural logarithm of x for Intel 80-bit format.
*
diff --git a/lib/msun/src/catrig.c b/lib/msun/src/catrig.c
index 929811a09a3b..45af164a66c5 100644
--- a/lib/msun/src/catrig.c
+++ b/lib/msun/src/catrig.c
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <complex.h>
#include <float.h>
diff --git a/lib/msun/src/catrigf.c b/lib/msun/src/catrigf.c
index 7feecfc5de38..da90629ec076 100644
--- a/lib/msun/src/catrigf.c
+++ b/lib/msun/src/catrigf.c
@@ -40,7 +40,6 @@
* a few comments on the right of declarations remain.
*/
-#include <sys/cdefs.h>
#include <complex.h>
#include <float.h>
diff --git a/lib/msun/src/catrigl.c b/lib/msun/src/catrigl.c
index 7cc3c1431731..faf9d299670e 100644
--- a/lib/msun/src/catrigl.c
+++ b/lib/msun/src/catrigl.c
@@ -39,7 +39,6 @@
* a few comments on the right of declarations remain.
*/
-#include <sys/cdefs.h>
#include <complex.h>
#include <float.h>
diff --git a/lib/msun/src/e_acos.c b/lib/msun/src/e_acos.c
index 75494529138a..af51fe1ecddc 100644
--- a/lib/msun/src/e_acos.c
+++ b/lib/msun/src/e_acos.c
@@ -10,7 +10,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/* acos(x)
* Method :
* acos(x) = pi/2 - asin(x)
diff --git a/lib/msun/src/e_acosf.c b/lib/msun/src/e_acosf.c
index 29f6d4a78495..42ba126d1baa 100644
--- a/lib/msun/src/e_acosf.c
+++ b/lib/msun/src/e_acosf.c
@@ -13,7 +13,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
#include "math.h"
#include "math_private.h"
diff --git a/lib/msun/src/e_acosh.c b/lib/msun/src/e_acosh.c
index 36bac70a58f9..0e5640b623d9 100644
--- a/lib/msun/src/e_acosh.c
+++ b/lib/msun/src/e_acosh.c
@@ -11,7 +11,6 @@
*
*/
-#include <sys/cdefs.h>
/* acosh(x)
* Method :
* Based on
diff --git a/lib/msun/src/e_acoshf.c b/lib/msun/src/e_acoshf.c
index df12609671cf..b6fbd2c14cb4 100644
--- a/lib/msun/src/e_acoshf.c
+++ b/lib/msun/src/e_acoshf.c
@@ -13,7 +13,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
#include "math.h"
#include "math_private.h"
diff --git a/lib/msun/src/e_acoshl.c b/lib/msun/src/e_acoshl.c
index 72ee019899f9..6bfa6244df09 100644
--- a/lib/msun/src/e_acoshl.c
+++ b/lib/msun/src/e_acoshl.c
@@ -12,7 +12,6 @@
*
*/
-#include <sys/cdefs.h>
/*
* See e_acosh.c for complete comments.
*
diff --git a/lib/msun/src/e_acosl.c b/lib/msun/src/e_acosl.c
index 8781a98faffd..209814383e51 100644
--- a/lib/msun/src/e_acosl.c
+++ b/lib/msun/src/e_acosl.c
@@ -11,7 +11,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* See comments in e_acos.c.
* Converted to long double by David Schultz <das@FreeBSD.ORG>.
diff --git a/lib/msun/src/e_asin.c b/lib/msun/src/e_asin.c
index 72853652fe72..530bf7910756 100644
--- a/lib/msun/src/e_asin.c
+++ b/lib/msun/src/e_asin.c
@@ -10,7 +10,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/* asin(x)
* Method :
* Since asin(x) = x + x^3/6 + x^5*3/40 + x^7*15/336 + ...
diff --git a/lib/msun/src/e_asinf.c b/lib/msun/src/e_asinf.c
index 391c15870f84..a2ee1a166f03 100644
--- a/lib/msun/src/e_asinf.c
+++ b/lib/msun/src/e_asinf.c
@@ -13,7 +13,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
#include "math.h"
#include "math_private.h"
diff --git a/lib/msun/src/e_asinl.c b/lib/msun/src/e_asinl.c
index 2100c20e3896..bb2320e129e7 100644
--- a/lib/msun/src/e_asinl.c
+++ b/lib/msun/src/e_asinl.c
@@ -11,7 +11,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* See comments in e_asin.c.
* Converted to long double by David Schultz <das@FreeBSD.ORG>.
diff --git a/lib/msun/src/e_atan2.c b/lib/msun/src/e_atan2.c
index 42665f130ac7..ab5fc72dbabf 100644
--- a/lib/msun/src/e_atan2.c
+++ b/lib/msun/src/e_atan2.c
@@ -11,7 +11,6 @@
*
*/
-#include <sys/cdefs.h>
/* atan2(y,x)
* Method :
* 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x).
diff --git a/lib/msun/src/e_atan2f.c b/lib/msun/src/e_atan2f.c
index af8c00851476..408f3646f612 100644
--- a/lib/msun/src/e_atan2f.c
+++ b/lib/msun/src/e_atan2f.c
@@ -13,7 +13,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
#include "math.h"
#include "math_private.h"
diff --git a/lib/msun/src/e_atan2l.c b/lib/msun/src/e_atan2l.c
index 8266bda19de3..a27fd3efc141 100644
--- a/lib/msun/src/e_atan2l.c
+++ b/lib/msun/src/e_atan2l.c
@@ -12,7 +12,6 @@
*
*/
-#include <sys/cdefs.h>
/*
* See comments in e_atan2.c.
* Converted to long double by David Schultz <das@FreeBSD.ORG>.
diff --git a/lib/msun/src/e_atanh.c b/lib/msun/src/e_atanh.c
index 27e2bfc5f0d0..0cc0b9248b6b 100644
--- a/lib/msun/src/e_atanh.c
+++ b/lib/msun/src/e_atanh.c
@@ -11,7 +11,6 @@
*
*/
-#include <sys/cdefs.h>
/* atanh(x)
* Method :
* 1.Reduced x to positive by atanh(-x) = -atanh(x)
diff --git a/lib/msun/src/e_atanhf.c b/lib/msun/src/e_atanhf.c
index 134513e5b817..a2d6b69a6812 100644
--- a/lib/msun/src/e_atanhf.c
+++ b/lib/msun/src/e_atanhf.c
@@ -13,7 +13,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
#include "math.h"
#include "math_private.h"
diff --git a/lib/msun/src/e_atanhl.c b/lib/msun/src/e_atanhl.c
index 0574a3c82369..cb707272a66c 100644
--- a/lib/msun/src/e_atanhl.c
+++ b/lib/msun/src/e_atanhl.c
@@ -12,7 +12,6 @@
*
*/
-#include <sys/cdefs.h>
/*
* See e_atanh.c for complete comments.
*
diff --git a/lib/msun/src/e_cosh.c b/lib/msun/src/e_cosh.c
index 636fe05faa71..5c3614efbf47 100644
--- a/lib/msun/src/e_cosh.c
+++ b/lib/msun/src/e_cosh.c
@@ -10,7 +10,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/* cosh(x)
* Method :
* mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2
diff --git a/lib/msun/src/e_coshf.c b/lib/msun/src/e_coshf.c
index 8c5457e24a51..40443b8b84d3 100644
--- a/lib/msun/src/e_coshf.c
+++ b/lib/msun/src/e_coshf.c
@@ -13,7 +13,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
#include "math.h"
#include "math_private.h"
diff --git a/lib/msun/src/e_coshl.c b/lib/msun/src/e_coshl.c
index de54b8183bbb..efb5094d39f9 100644
--- a/lib/msun/src/e_coshl.c
+++ b/lib/msun/src/e_coshl.c
@@ -11,7 +11,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* See e_cosh.c for complete comments.
*
diff --git a/lib/msun/src/e_exp.c b/lib/msun/src/e_exp.c
index a872c1d4d800..6401556a44e4 100644
--- a/lib/msun/src/e_exp.c
+++ b/lib/msun/src/e_exp.c
@@ -9,7 +9,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/* exp(x)
* Returns the exponential of x.
*
diff --git a/lib/msun/src/e_expf.c b/lib/msun/src/e_expf.c
index 2dbce9dd870d..fe2e6779469f 100644
--- a/lib/msun/src/e_expf.c
+++ b/lib/msun/src/e_expf.c
@@ -13,7 +13,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
#include <float.h>
#include "math.h"
diff --git a/lib/msun/src/e_fmod.c b/lib/msun/src/e_fmod.c
index 4639d52e1cbb..77afd116c658 100644
--- a/lib/msun/src/e_fmod.c
+++ b/lib/msun/src/e_fmod.c
@@ -10,7 +10,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* fmod(x,y)
* Return x mod y in exact arithmetic
diff --git a/lib/msun/src/e_fmodf.c b/lib/msun/src/e_fmodf.c
index 0e6633fbe739..a7d1a0c22acd 100644
--- a/lib/msun/src/e_fmodf.c
+++ b/lib/msun/src/e_fmodf.c
@@ -13,7 +13,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/*
* fmodf(x,y)
* Return x mod y in exact arithmetic
diff --git a/lib/msun/src/e_fmodl.c b/lib/msun/src/e_fmodl.c
index 96967b628aa6..d5997e1f4e47 100644
--- a/lib/msun/src/e_fmodl.c
+++ b/lib/msun/src/e_fmodl.c
@@ -9,7 +9,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
#include <float.h>
#include <stdint.h>
diff --git a/lib/msun/src/e_gamma.c b/lib/msun/src/e_gamma.c
index e69c7fe40e2e..43541ad935bd 100644
--- a/lib/msun/src/e_gamma.c
+++ b/lib/msun/src/e_gamma.c
@@ -11,7 +11,6 @@
*
*/
-#include <sys/cdefs.h>
/* gamma(x)
* Return the logarithm of the Gamma function of x.
*
diff --git a/lib/msun/src/e_gamma_r.c b/lib/msun/src/e_gamma_r.c
index 1c83ce658c8a..f317ae435cdc 100644
--- a/lib/msun/src/e_gamma_r.c
+++ b/lib/msun/src/e_gamma_r.c
@@ -11,7 +11,6 @@
*
*/
-#include <sys/cdefs.h>
/* gamma_r(x, signgamp)
* Reentrant version of the logarithm of the Gamma function
* with user provide pointer for the sign of Gamma(x).
diff --git a/lib/msun/src/e_gammaf.c b/lib/msun/src/e_gammaf.c
index 3afef79de53a..98da5711e811 100644
--- a/lib/msun/src/e_gammaf.c
+++ b/lib/msun/src/e_gammaf.c
@@ -13,7 +13,6 @@
* ====================================================
*/
-#include <sys/cdefs.h>
/* gammaf(x)
* Return the logarithm of the Gamma function of x.
*
diff --git a/lib/msun/src/e_gammaf_r.c b/lib/msun/src/e_gammaf_r.c
index 5b3bd535aa42..ae80c1bae2cc 100644
--- a/lib/msun/src/e_gammaf_r.c
+++ b/lib/msun/src/e_gammaf_r.c
@@ -13,7 +13,6 @@
* ====================================================
*** 2050 LINES SKIPPED ***