diff options
Diffstat (limited to 'itypes.c')
-rw-r--r-- | itypes.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -35,8 +35,6 @@ #include "arith.h" #include "itypes.h" -int itypes_little_endian; - #if HAVE_I8 i8_t c_i8(val n, val self) { @@ -263,16 +261,3 @@ unsigned long c_ulong(val n, val self) #error portme #endif } - -extern int itypes_little_endian; -void itypes_init(void); - -void itypes_init() -{ - union u { - volatile unsigned ui; - volatile unsigned char uc[sizeof (unsigned)]; - } u = { 0xff }; - - itypes_little_endian = (u.uc[0] == 0xff); -} |