lib: Include stdbool.h in int_lib.h, and eliminate duplicate includes from a number of source files.

llvm-svn: 144671
This commit is contained in:
Daniel Dunbar 2011-11-15 19:02:22 +00:00
parent e35f9ddb4c
commit fd1fb8515f
8 changed files with 3 additions and 12 deletions

View File

@ -8,7 +8,8 @@
* ===----------------------------------------------------------------------=== * ===----------------------------------------------------------------------===
*/ */
#include <stdint.h> #include "int_lib.h"
#include <sys/mman.h> #include <sys/mman.h>
/* #include "config.h" /* #include "config.h"

View File

@ -38,9 +38,6 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include <stdint.h>
#include <limits.h>
#include "int_lib.h" #include "int_lib.h"
typedef float src_t; typedef float src_t;

View File

@ -29,7 +29,6 @@ ARM_EABI_FNALIAS(l2d, floatdidf);
/* Support for systems that have hardware floating-point; we'll set the inexact flag /* Support for systems that have hardware floating-point; we'll set the inexact flag
* as a side-effect of this computation. * as a side-effect of this computation.
*/ */
#include <stdint.h>
COMPILER_RT_ABI double COMPILER_RT_ABI double
__floatdidf(di_int a) __floatdidf(di_int a)

View File

@ -31,7 +31,6 @@ ARM_EABI_FNALIAS(ul2d, floatundidf);
* as a side-effect of this computation. * as a side-effect of this computation.
*/ */
#include <stdint.h>
COMPILER_RT_ABI double COMPILER_RT_ABI double
__floatundidf(du_int a) __floatundidf(du_int a)

View File

@ -9,7 +9,6 @@
* *
*/ */
#include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -33,6 +33,7 @@
#include <limits.h> #include <limits.h>
#include <stdint.h> #include <stdint.h>
#include <stdbool.h>
#include <math.h> #include <math.h>
/* If compiling for kernel use, call panic() instead of abort(). */ /* If compiling for kernel use, call panic() instead of abort(). */

View File

@ -8,7 +8,6 @@
* ===----------------------------------------------------------------------=== * ===----------------------------------------------------------------------===
*/ */
#include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include "int_lib.h" #include "int_lib.h"

View File

@ -37,10 +37,6 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include <stdint.h>
#include <limits.h>
#include <stdbool.h>
#include "int_lib.h" #include "int_lib.h"
typedef double src_t; typedef double src_t;