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
diff --git a/lib/int_lib.h b/lib/int_lib.h
index f1c1b11..dd65b69 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(). */