diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-11-15 19:02:22 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-11-15 19:02:22 +0000 |
commit | fd1fb8515f8f897480e4d271ffb7f807323f3449 (patch) | |
tree | 281d1a96800ac0772a393971a12e0e08f9e942fc | |
parent | e35f9ddb4cd5f33b0484c4371290e27b8a0ea485 (diff) | |
download | bcm5719-llvm-fd1fb8515f8f897480e4d271ffb7f807323f3449.tar.gz bcm5719-llvm-fd1fb8515f8f897480e4d271ffb7f807323f3449.zip |
lib: Include stdbool.h in int_lib.h, and eliminate duplicate includes from a number of source files.
llvm-svn: 144671
-rw-r--r-- | compiler-rt/lib/enable_execute_stack.c | 3 | ||||
-rw-r--r-- | compiler-rt/lib/extendsfdf2.c | 3 | ||||
-rw-r--r-- | compiler-rt/lib/floatdidf.c | 1 | ||||
-rw-r--r-- | compiler-rt/lib/floatundidf.c | 1 | ||||
-rw-r--r-- | compiler-rt/lib/gcc_personality_v0.c | 1 | ||||
-rw-r--r-- | compiler-rt/lib/int_lib.h | 1 | ||||
-rw-r--r-- | compiler-rt/lib/trampoline_setup.c | 1 | ||||
-rw-r--r-- | compiler-rt/lib/truncdfsf2.c | 4 |
8 files changed, 3 insertions, 12 deletions
diff --git a/compiler-rt/lib/enable_execute_stack.c b/compiler-rt/lib/enable_execute_stack.c index 7ab8e8d4155..278ca246f53 100644 --- a/compiler-rt/lib/enable_execute_stack.c +++ b/compiler-rt/lib/enable_execute_stack.c @@ -8,7 +8,8 @@ * ===----------------------------------------------------------------------=== */ -#include <stdint.h> +#include "int_lib.h" + #include <sys/mman.h> /* #include "config.h" diff --git a/compiler-rt/lib/extendsfdf2.c b/compiler-rt/lib/extendsfdf2.c index a63015430b1..9466de78080 100644 --- a/compiler-rt/lib/extendsfdf2.c +++ b/compiler-rt/lib/extendsfdf2.c @@ -38,9 +38,6 @@ // //===----------------------------------------------------------------------===// -#include <stdint.h> -#include <limits.h> - #include "int_lib.h" typedef float src_t; diff --git a/compiler-rt/lib/floatdidf.c b/compiler-rt/lib/floatdidf.c index 95807703272..fd12c300381 100644 --- a/compiler-rt/lib/floatdidf.c +++ b/compiler-rt/lib/floatdidf.c @@ -29,7 +29,6 @@ ARM_EABI_FNALIAS(l2d, floatdidf); /* Support for systems that have hardware floating-point; we'll set the inexact flag * as a side-effect of this computation. */ -#include <stdint.h> COMPILER_RT_ABI double __floatdidf(di_int a) diff --git a/compiler-rt/lib/floatundidf.c b/compiler-rt/lib/floatundidf.c index 5848f8d241a..0b328d0cc8b 100644 --- a/compiler-rt/lib/floatundidf.c +++ b/compiler-rt/lib/floatundidf.c @@ -31,7 +31,6 @@ ARM_EABI_FNALIAS(ul2d, floatundidf); * as a side-effect of this computation. */ -#include <stdint.h> COMPILER_RT_ABI double __floatundidf(du_int a) diff --git a/compiler-rt/lib/gcc_personality_v0.c b/compiler-rt/lib/gcc_personality_v0.c index c840eef4842..9ad78cdc05a 100644 --- a/compiler-rt/lib/gcc_personality_v0.c +++ b/compiler-rt/lib/gcc_personality_v0.c @@ -9,7 +9,6 @@ * */ -#include <stdint.h> #include <stdio.h> #include <stdlib.h> diff --git a/compiler-rt/lib/int_lib.h b/compiler-rt/lib/int_lib.h index dd65b69db83..e265ced6014 100644 --- a/compiler-rt/lib/int_lib.h +++ b/compiler-rt/lib/int_lib.h @@ -33,6 +33,7 @@ #include <limits.h> #include <stdint.h> +#include <stdbool.h> #include <math.h> /* If compiling for kernel use, call panic() instead of abort(). */ diff --git a/compiler-rt/lib/trampoline_setup.c b/compiler-rt/lib/trampoline_setup.c index ced119fb583..75cc82a2749 100644 --- a/compiler-rt/lib/trampoline_setup.c +++ b/compiler-rt/lib/trampoline_setup.c @@ -8,7 +8,6 @@ * ===----------------------------------------------------------------------=== */ -#include <stdint.h> #include <stdlib.h> #include "int_lib.h" diff --git a/compiler-rt/lib/truncdfsf2.c b/compiler-rt/lib/truncdfsf2.c index 2353b9b407c..f57af7e736d 100644 --- a/compiler-rt/lib/truncdfsf2.c +++ b/compiler-rt/lib/truncdfsf2.c @@ -37,10 +37,6 @@ // //===----------------------------------------------------------------------===// -#include <stdint.h> -#include <limits.h> -#include <stdbool.h> - #include "int_lib.h" typedef double src_t; |