aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main.c b/src/main.c
index 7338443..21da822 100644
--- a/src/main.c
+++ b/src/main.c
@@ -23,8 +23,6 @@ static inline uint32_t pow32(uint32_t, uint32_t)
__attribute__((always_inline, const));
static inline bool xisdigit(char)
__attribute__((always_inline, const));
-static inline bool bigendian(void)
- __attribute__((always_inline, const));
static int digits = 6, period = 30;
@@ -180,15 +178,3 @@ xisdigit(char ch)
{
return ch >= '0' && ch <= '9';
}
-
-bool
-bigendian(void)
-{
- union {
- uint16_t u16;
- uint8_t u8[2];
- } u = {
- .u16 = 0x0102U,
- };
- return u.u8[0] == 1;
-}