From 4d355192bf5a51829a651104e757f2954d2c12e5 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 19 May 2020 17:16:23 +0200 Subject: [PATCH] remove inline --- armsrc/Standalone/hf_colin.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/armsrc/Standalone/hf_colin.c b/armsrc/Standalone/hf_colin.c index 9752c66c3..d2075f38f 100644 --- a/armsrc/Standalone/hf_colin.c +++ b/armsrc/Standalone/hf_colin.c @@ -104,12 +104,7 @@ static const uint8_t is_hex[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -// Note: inlining this function would fail with -Os -#ifdef __OPTIMIZE_SIZE__ static uint64_t hex2i(const char *s) { -#else -static inline uint64_t hex2i(const char *s) { -#endif uint64_t val = 0; if (s == NULL || s[0] == 0) return 0;