mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 16:48:15 +08:00
remove inline
This commit is contained in:
parent
47634f5550
commit
4d355192bf
1 changed files with 0 additions and 5 deletions
|
@ -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
|
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) {
|
static uint64_t hex2i(const char *s) {
|
||||||
#else
|
|
||||||
static inline uint64_t hex2i(const char *s) {
|
|
||||||
#endif
|
|
||||||
uint64_t val = 0;
|
uint64_t val = 0;
|
||||||
if (s == NULL || s[0] == 0)
|
if (s == NULL || s[0] == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue