mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
changing {} style to match majority of previous style
This commit is contained in:
parent
da6cdf014b
commit
961d929f4d
320 changed files with 5502 additions and 10485 deletions
|
@ -38,13 +38,11 @@ static command_t CommandTable[] = {
|
|||
{NULL, NULL, 0, NULL}
|
||||
};
|
||||
|
||||
command_t *getTopLevelCommandTable()
|
||||
{
|
||||
command_t *getTopLevelCommandTable() {
|
||||
return CommandTable;
|
||||
}
|
||||
|
||||
int CmdRem(const char *Cmd)
|
||||
{
|
||||
int CmdRem(const char *Cmd) {
|
||||
char buf[22];
|
||||
|
||||
memset(buf, 0x00, sizeof(buf));
|
||||
|
@ -56,19 +54,16 @@ int CmdRem(const char *Cmd)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int CmdHelp(const char *Cmd)
|
||||
{
|
||||
int CmdHelp(const char *Cmd) {
|
||||
CmdsHelp(CommandTable);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int CmdQuit(const char *Cmd)
|
||||
{
|
||||
int CmdQuit(const char *Cmd) {
|
||||
return 99;
|
||||
}
|
||||
|
||||
int CmdRev(const char *Cmd)
|
||||
{
|
||||
int CmdRev(const char *Cmd) {
|
||||
CmdCrc(Cmd);
|
||||
return 0;
|
||||
}
|
||||
|
@ -77,7 +72,6 @@ int CmdRev(const char *Cmd)
|
|||
// Entry point into our code: called whenever the user types a command and
|
||||
// then presses Enter, which the full command line that they typed.
|
||||
//-----------------------------------------------------------------------------
|
||||
int CommandReceived(char *Cmd)
|
||||
{
|
||||
int CommandReceived(char *Cmd) {
|
||||
return CmdsParse(CommandTable, Cmd);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue