diff options
author | Zack Weinberg <zackw@panix.com> | 2018-03-07 16:45:35 +0000 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2018-03-10 15:18:08 -0500 |
commit | 0d13dfa17b3bdf4f5ccc179869917cc65f009e7a (patch) | |
tree | d5f8401c43ff6dc7d2f7c823b6e54cbd5a135e69 /sysdeps/ieee754/ldbl-64-128 | |
parent | 054b72cc976000424e1d1017b3d51f071e5dd956 (diff) | |
download | glibc-0d13dfa17b3bdf4f5ccc179869917cc65f009e7a.tar.gz glibc-0d13dfa17b3bdf4f5ccc179869917cc65f009e7a.tar.xz glibc-0d13dfa17b3bdf4f5ccc179869917cc65f009e7a.zip |
Don't include math.h/math_private.h in math_ldbl_opt.h.
The sysdeps/ieee754/ldbl-opt version of math_ldbl_opt.h includes math.h and math_private.h, despite not having any need for those headers itself; the sysdeps/generic version doesn't. About 20 files are relying on math_ldbl_opt.h to include math.h and/or math_private.h for them, even though none of them necessarily used on a platform that needs ldbl-opt support. * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include math.h or math_private.h. * sysdeps/alpha/fpu/s_isnan.c * sysdeps/ieee754/ldbl-128ibm/s_ceill.c * sysdeps/ieee754/ldbl-128ibm/s_floorl.c * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c * sysdeps/ieee754/ldbl-128ibm/s_rintl.c * sysdeps/ieee754/ldbl-128ibm/s_roundl.c * sysdeps/ieee754/ldbl-128ibm/s_truncl.c * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Include math_private.h. * sysdeps/ieee754/ldbl-64-128/s_finitel.c * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c * sysdeps/ieee754/ldbl-64-128/s_isinfl.c * sysdeps/ieee754/ldbl-64-128/s_isnanl.c * sysdeps/ieee754/ldbl-64-128/s_signbitl.c * sysdeps/powerpc/power7/fpu/s_logb.c: Include math.h and math_private.h.
Diffstat (limited to 'sysdeps/ieee754/ldbl-64-128')
-rw-r--r-- | sysdeps/ieee754/ldbl-64-128/s_finitel.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-64-128/s_isinfl.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-64-128/s_isnanl.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-64-128/s_signbitl.c | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-64-128/s_finitel.c b/sysdeps/ieee754/ldbl-64-128/s_finitel.c index c0862a7485..5a16e6a277 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_finitel.c +++ b/sysdeps/ieee754/ldbl-64-128/s_finitel.c @@ -1,3 +1,5 @@ +#include <math.h> +#include <math_private.h> #include <math_ldbl_opt.h> #undef weak_alias #define weak_alias(n,a) diff --git a/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c b/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c index a10b6c3a1a..a14cea4001 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c @@ -1,3 +1,5 @@ +#include <math.h> +#include <math_private.h> #include <math_ldbl_opt.h> #undef weak_alias #define weak_alias(n,a) diff --git a/sysdeps/ieee754/ldbl-64-128/s_isinfl.c b/sysdeps/ieee754/ldbl-64-128/s_isinfl.c index 6dab0e9223..94d0b06277 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_isinfl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_isinfl.c @@ -1,3 +1,5 @@ +#include <math.h> +#include <math_private.h> #include <math_ldbl_opt.h> #if !IS_IN (libm) # undef weak_alias diff --git a/sysdeps/ieee754/ldbl-64-128/s_isnanl.c b/sysdeps/ieee754/ldbl-64-128/s_isnanl.c index ad5ecc5281..9a7a29770c 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_isnanl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_isnanl.c @@ -1,3 +1,5 @@ +#include <math.h> +#include <math_private.h> #include <math_ldbl_opt.h> #if !IS_IN (libm) # undef weak_alias diff --git a/sysdeps/ieee754/ldbl-64-128/s_signbitl.c b/sysdeps/ieee754/ldbl-64-128/s_signbitl.c index 850db7386a..39e0c34b6c 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_signbitl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_signbitl.c @@ -1,3 +1,5 @@ +#include <math.h> +#include <math_private.h> #include <math_ldbl_opt.h> #undef weak_alias #define weak_alias(n,a) |