diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-11-15 18:56:21 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-11-15 18:56:21 +0000 |
commit | 0a3e35011f3c312f2b10f61e1540b058baff8cf6 (patch) | |
tree | 2250ecdf95eec59823ba5eb8cbf35e0123901b06 /lib/int_lib.h | |
parent | 396a72f4854bdc09e465bf2ab96e62303850ee41 (diff) | |
download | compiler-rt-0a3e35011f3c312f2b10f61e1540b058baff8cf6.tar.gz |
lib: Rename endianness.h to int_endianness.h (for consistency) and tidy up a bit.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/int_lib.h')
-rw-r--r-- | lib/int_lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/int_lib.h b/lib/int_lib.h index f1c1b1189..dd65b69db 100644 --- a/lib/int_lib.h +++ b/lib/int_lib.h @@ -16,6 +16,10 @@ #ifndef INT_LIB_H #define INT_LIB_H +/* Assumption: Signed integral is 2's complement. */ +/* Assumption: Right shift of signed negative is arithmetic shift. */ +/* Assumption: Endianness is little or big (not mixed). */ + /* ABI macro definitions */ #if __ARM_EABI__ @@ -27,12 +31,8 @@ # define COMPILER_RT_ABI #endif -/* Assumption: signed integral is 2's complement */ -/* Assumption: right shift of signed negative is arithmetic shift */ - #include <limits.h> #include <stdint.h> -#include "endianness.h" #include <math.h> /* If compiling for kernel use, call panic() instead of abort(). */ |