From 0f95ad02491fe3b0b9c66c60b3655751cdc74cea Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 16 Aug 2020 18:56:31 -0400 Subject: clean up includes --- src/complex/_tgmath.h | 6 +++--- src/complex/cacos.c | 4 ---- src/complex/cacosh.c | 4 ---- src/complex/casinh.c | 2 -- src/complex/catanh.c | 2 -- src/complex/clog.c | 4 ---- 6 files changed, 3 insertions(+), 19 deletions(-) (limited to 'src/complex') diff --git a/src/complex/_tgmath.h b/src/complex/_tgmath.h index c317f3dd..31fe7324 100644 --- a/src/complex/_tgmath.h +++ b/src/complex/_tgmath.h @@ -1,5 +1,5 @@ -#include "CMPLX.c" -#include "CMPLXF.c" -#include "CMPLXL.c" +#include "CMPLX.h" +#include "CMPLXF.h" +#include "CMPLXL.h" #include "math/_tgmath.h" diff --git a/src/complex/cacos.c b/src/complex/cacos.c index aaf45137..5df9c0df 100644 --- a/src/complex/cacos.c +++ b/src/complex/cacos.c @@ -4,10 +4,6 @@ #include "math.h" #include "fenv.h" -#include "math/M_PI.c" -#include "math/M_PI_2.c" -#include "math/M_PI_4.c" - TYPE complex TGFN(cacos)(TYPE complex z) { int classr = fpclassify(TGFN(creal)(z)); diff --git a/src/complex/cacosh.c b/src/complex/cacosh.c index b5f1fdb1..908e4938 100644 --- a/src/complex/cacosh.c +++ b/src/complex/cacosh.c @@ -4,10 +4,6 @@ #include "math.h" #include "fenv.h" -#include "math/M_PI.c" -#include "math/M_PI_2.c" -#include "math/M_PI_4.c" - TYPE complex TGFN(cacosh)(TYPE complex z) { int classr = fpclassify(TGFN(creal)(z)); diff --git a/src/complex/casinh.c b/src/complex/casinh.c index 71414e43..4386d5ee 100644 --- a/src/complex/casinh.c +++ b/src/complex/casinh.c @@ -4,8 +4,6 @@ #include "math.h" #include "fenv.h" -#include "math/M_PI_4.c" - TYPE complex TGFN(casinh)(TYPE complex z) { int classr = fpclassify(TGFN(creal)(z)); diff --git a/src/complex/catanh.c b/src/complex/catanh.c index 8b5c6109..69ccfd48 100644 --- a/src/complex/catanh.c +++ b/src/complex/catanh.c @@ -4,8 +4,6 @@ #include "math.h" #include "fenv.h" -#include "math/M_PI_2.c" - TYPE complex TGFN(catanh)(TYPE complex z) { int classr = fpclassify(TGFN(creal)(z)); diff --git a/src/complex/clog.c b/src/complex/clog.c index 914ca1c6..e0ab86ab 100644 --- a/src/complex/clog.c +++ b/src/complex/clog.c @@ -4,10 +4,6 @@ #include "math.h" #include "fenv.h" -#include "math/M_PI.c" -#include "math/M_PI_2.c" -#include "math/M_PI_4.c" - TYPE complex TGFN(clog)(TYPE complex z) { int classr = fpclassify(TGFN(creal)(z)); -- cgit v1.2.1