fix few missing declarations -> static or add include file

This commit is contained in:
Philippe Teuwen 2019-10-25 00:55:16 +02:00
commit 07cf3fd32b
12 changed files with 19 additions and 11 deletions

View file

@ -366,7 +366,7 @@ static void lookupChipID(uint32_t iChipID, uint32_t mem_used) {
PrintAndLogEx(NORMAL, " --= Nonvolatile Program Memory Type: %s", asBuff);
}
int CmdDbg(const char *Cmd) {
static int CmdDbg(const char *Cmd) {
char ctmp = tolower(param_getchar(Cmd, 0));
if (strlen(Cmd) < 1 || ctmp == 'h') return usage_dbg();