summaryrefslogtreecommitdiffstats
path: root/itypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'itypes.c')
-rw-r--r--itypes.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/itypes.c b/itypes.c
index ba8705e2..51cbb7cd 100644
--- a/itypes.c
+++ b/itypes.c
@@ -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);
-}