diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-11-16 01:19:16 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-11-16 01:19:16 +0000 |
commit | dbaa3974d4c012ad500a790be5e51ce66188d15c (patch) | |
tree | ce02bb5587a0ae82ab5efb4922f0032a80166c90 | |
parent | 3f4d3407a10186b146647b5f248158279835ab9c (diff) |
lib/{ppc,x86_64}: Fixup a number of files to include int_lib.h instead of
directly including system headers.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144750 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/ppc/DD.h | 2 | ||||
-rw-r--r-- | lib/ppc/fixtfdi.c | 1 | ||||
-rw-r--r-- | lib/ppc/fixunstfdi.c | 1 | ||||
-rw-r--r-- | lib/ppc/floatditf.c | 1 | ||||
-rw-r--r-- | lib/ppc/floatunditf.c | 1 | ||||
-rw-r--r-- | lib/x86_64/floatdidf.c | 2 | ||||
-rw-r--r-- | lib/x86_64/floatdisf.c | 2 | ||||
-rw-r--r-- | lib/x86_64/floatdixf.c | 2 |
8 files changed, 4 insertions, 8 deletions
diff --git a/lib/ppc/DD.h b/lib/ppc/DD.h index 9ecd1f50b..13862dc98 100644 --- a/lib/ppc/DD.h +++ b/lib/ppc/DD.h @@ -1,7 +1,7 @@ #ifndef __DD_HEADER #define __DD_HEADER -#include <stdint.h> +#include "../int_lib.h" typedef union { long double ld; diff --git a/lib/ppc/fixtfdi.c b/lib/ppc/fixtfdi.c index fa113a037..43bc15fb1 100644 --- a/lib/ppc/fixtfdi.c +++ b/lib/ppc/fixtfdi.c @@ -7,7 +7,6 @@ */ #include "DD.h" -#include <stdint.h> uint64_t __fixtfdi(long double input) { diff --git a/lib/ppc/fixunstfdi.c b/lib/ppc/fixunstfdi.c index 1fb524881..5e6e2cedf 100644 --- a/lib/ppc/fixunstfdi.c +++ b/lib/ppc/fixunstfdi.c @@ -6,7 +6,6 @@ /* This file implements the PowerPC 128-bit double-double -> uint64_t conversion */ #include "DD.h" -#include <stdint.h> uint64_t __fixunstfdi(long double input) { diff --git a/lib/ppc/floatditf.c b/lib/ppc/floatditf.c index ed23dc84d..beabdd017 100644 --- a/lib/ppc/floatditf.c +++ b/lib/ppc/floatditf.c @@ -6,7 +6,6 @@ /* This file implements the PowerPC long long -> long double conversion */ #include "DD.h" -#include <stdint.h> long double __floatditf(int64_t a) { diff --git a/lib/ppc/floatunditf.c b/lib/ppc/floatunditf.c index 20a3b71b3..b12e1e738 100644 --- a/lib/ppc/floatunditf.c +++ b/lib/ppc/floatunditf.c @@ -6,7 +6,6 @@ /* This file implements the PowerPC unsigned long long -> long double conversion */ #include "DD.h" -#include <stdint.h> long double __floatunditf(uint64_t a) { diff --git a/lib/x86_64/floatdidf.c b/lib/x86_64/floatdidf.c index cce3cd514..388404e5e 100644 --- a/lib/x86_64/floatdidf.c +++ b/lib/x86_64/floatdidf.c @@ -6,7 +6,7 @@ #ifdef __x86_64__ -#include <stdint.h> +#include "../int_lib.h" double __floatdidf(int64_t a) { diff --git a/lib/x86_64/floatdisf.c b/lib/x86_64/floatdisf.c index 753ba90df..96c3728e9 100644 --- a/lib/x86_64/floatdisf.c +++ b/lib/x86_64/floatdisf.c @@ -4,7 +4,7 @@ #ifdef __x86_64__ -#include <stdint.h> +#include "../int_lib.h" float __floatdisf(int64_t a) { diff --git a/lib/x86_64/floatdixf.c b/lib/x86_64/floatdixf.c index 569f72774..c01193a82 100644 --- a/lib/x86_64/floatdixf.c +++ b/lib/x86_64/floatdixf.c @@ -6,7 +6,7 @@ #ifdef __x86_64__ -#include <stdint.h> +#include "../int_lib.h" long double __floatdixf(int64_t a) { |