less global vars

This commit is contained in:
Philippe Teuwen committed 2020-06-02 00:51:32 +02:00
1 parent b6077df68e
commit d234e2a8f5
4 files changed
+14 -13

No files matched your search

+2 -2
View File
@@ -234,8 +234,8 @@ int CmdsParse(const command_t Commands[], const char *Cmd) {
return PM3_SUCCESS;
}
char pparent[512] = {0};
char *parent = pparent;
static char pparent[512] = {0};
static char *parent = pparent;
void dumpCommandsRecursive(const command_t cmds[], int markdown) {
if (cmds[0].Name == NULL) return;