forked from OSchip/llvm-project
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:
parent
e35f9ddb4c
commit
fd1fb8515f
|
|
@ -8,7 +8,8 @@
|
|||
* ===----------------------------------------------------------------------===
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "int_lib.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
/* #include "config.h"
|
||||
|
|
|
|||
|
|
@ -38,9 +38,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <stdint.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "int_lib.h"
|
||||
|
||||
typedef float src_t;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.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(). */
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
* ===----------------------------------------------------------------------===
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "int_lib.h"
|
||||
|
|
|
|||
|
|
@ -37,10 +37,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <stdint.h>
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "int_lib.h"
|
||||
|
||||
typedef double src_t;
|
||||
|
|
|
|||
Loading…
Reference in New Issue