diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-26 09:21:14 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-26 09:21:14 +0200 |
commit | c2d55d3ce75ec1eb20e95c8ddf6ecb8a411831c9 (patch) | |
tree | 05f0c384f56dc0e718d909d9b4608acff244f4e6 /src/main.c | |
parent | 2952089a46478a1c8d0121a2a8ae818f299116f1 (diff) |
Remove unused function
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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; -} |