From 50e131f99b028e539dc7689d945731cd1be00f51 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 6 Apr 2019 21:59:34 +0200 Subject: [PATCH] arg names --- client/cmdhf14a.c | 2 +- client/cmdhf15.h | 2 +- client/cmdhfmfdes.h | 6 +++--- client/cmdhfmfu.h | 2 +- client/cmdlfhitag.h | 2 +- client/cmdlfpresco.h | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/client/cmdhf14a.c b/client/cmdhf14a.c index 0894c578f..dad8495a3 100644 --- a/client/cmdhf14a.c +++ b/client/cmdhf14a.c @@ -15,7 +15,7 @@ bool APDUInFramingEnable = true; static int CmdHelp(const char *Cmd); -static int waitCmd(uint8_t iLen); +static int waitCmd(uint8_t iSelect); static const manufactureName manufactureMapping[] = { // ID, "Vendor Country" diff --git a/client/cmdhf15.h b/client/cmdhf15.h index 141163547..5a3753100 100644 --- a/client/cmdhf15.h +++ b/client/cmdhf15.h @@ -38,7 +38,7 @@ int CmdHF15Reader(const char *Cmd); int CmdHF15Sim(const char *Cmd); int CmdHF15Afi(const char *Cmd); int CmdHF15Dump(const char *Cmd); -int CmdHF15Raw(const char *cmd); +int CmdHF15Raw(const char *Cmd); int CmdHF15Readmulti(const char *Cmd); int CmdHF15Read(const char *Cmd); int CmdHF15Write(const char *Cmd); diff --git a/client/cmdhfmfdes.h b/client/cmdhfmfdes.h index 9aeb7dbeb..6f2f0fa3f 100644 --- a/client/cmdhfmfdes.h +++ b/client/cmdhfmfdes.h @@ -11,9 +11,9 @@ #define __MFDESFIRE_H int CmdHFMFDes(const char *Cmd); -int CmdHF14ADesAuth(const char *cmd); -int CmdHF14ADesRb(const char *cmd); -int CmdHF14ADesWb(const char *cmd); +int CmdHF14ADesAuth(const char *Cmd); +int CmdHF14ADesRb(const char *Cmd); +int CmdHF14ADesWb(const char *Cmd); int CmdHF14ADesInfo(const char *Cmd); int CmdHF14ADesEnumApplications(const char *Cmd); diff --git a/client/cmdhfmfu.h b/client/cmdhfmfu.h index 315b4b542..28f79d086 100644 --- a/client/cmdhfmfu.h +++ b/client/cmdhfmfu.h @@ -43,7 +43,7 @@ int CmdHF14AMfUeLoad(const char *Cmd); int CmdHF14AMfUSim(const char *Cmd); uint32_t GetHF14AMfU_Type(void); -int ul_print_type(uint32_t tagtype, uint8_t spacer); +int ul_print_type(uint32_t tagtype, uint8_t spaces); void printMFUdump(mfu_dump_t *card); void printMFUdumpEx(mfu_dump_t *card, uint16_t pages, uint8_t startpage); diff --git a/client/cmdlfhitag.h b/client/cmdlfhitag.h index 6728d00e0..650e5d892 100644 --- a/client/cmdlfhitag.h +++ b/client/cmdlfhitag.h @@ -20,6 +20,6 @@ int CmdLFHitagInfo(const char *Cmd); int CmdLFHitagReader(const char *Cmd); int CmdLFHitagCheckChallenges(const char *Cmd); int CmdLFHitagWriter(const char *Cmd); -int CmdLFHitagDump(const char *cmd); +int CmdLFHitagDump(const char *Cmd); #endif diff --git a/client/cmdlfpresco.h b/client/cmdlfpresco.h index 5ae74a11f..9c84f75b6 100644 --- a/client/cmdlfpresco.h +++ b/client/cmdlfpresco.h @@ -28,7 +28,7 @@ int CmdPrescoClone(const char *Cmd); int CmdPrescoSim(const char *Cmd); int detectPresco(uint8_t *dest, size_t *size); -int GetWiegandFromPresco(const char *id, uint32_t *sitecode, uint32_t *usercode, uint32_t *fullcode, bool *Q5); +int GetWiegandFromPresco(const char *Cmd, uint32_t *sitecode, uint32_t *usercode, uint32_t *fullcode, bool *Q5); int usage_lf_presco_clone(void); int usage_lf_presco_sim(void);