Make read-only globals const, additional fixes

- Global variables that are never written to are marked const
- Remove some EXTERN declaration
- Remove unused `log_mem_multi` from logging module
This commit is contained in:
Laurent THOMAS
2023-07-27 17:24:00 +02:00
committed by Robert Schmidt
parent 5b943f598d
commit 206aa36a47
62 changed files with 1516 additions and 1337 deletions

View File

@@ -52,7 +52,7 @@ extern uint16_t NB_UE_INST;
static uicc_t** uiccArray=NULL;
const char *hexTable="0123456789abcdef";
const char *const hexTable = "0123456789abcdef";
static inline uint8_t mkDigit(unsigned char in) {
for (int i=0; i<16; i++)
if (tolower(in)==hexTable[i])