use more static and fix [-Wmissing-prototypes]

This commit is contained in:
Philippe Teuwen 2019-04-13 21:54:04 +02:00
commit 5c55664fc5
23 changed files with 223 additions and 218 deletions

View file

@ -71,9 +71,9 @@ main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
SetOffline(false);
// cache Version information now:
if (execCommand || script_cmds_file || stdinOnPipe)
CmdVersion("s");
pm3_version(false);
else
CmdVersion("");
pm3_version(true);
} else {
SetOffline(true);
}