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 <sys/mman.h>
|
||||||
|
|
||||||
/* #include "config.h"
|
/* #include "config.h"
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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(). */
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
* ===----------------------------------------------------------------------===
|
* ===----------------------------------------------------------------------===
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "int_lib.h"
|
#include "int_lib.h"
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue