mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 22:23:38 -07:00
made small finctions static
This commit is contained in:
parent
1f1973dc13
commit
719970fc05
2 changed files with 2 additions and 2 deletions
|
@ -1171,7 +1171,7 @@ void MifareECardLoad(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datai
|
||||||
//
|
//
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
bool isBlockTrailer(int blockN) {
|
static bool isBlockTrailer(int blockN) {
|
||||||
if (blockN >= 0 && blockN < 128) {
|
if (blockN >= 0 && blockN < 128) {
|
||||||
return ((blockN & 0x03) == 0x03);
|
return ((blockN & 0x03) == 0x03);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1854,7 +1854,7 @@ int CmdHF14AMfCSetUID(const char *Cmd)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ParamGetCardSize(const char c) {
|
static int ParamGetCardSize(const char c) {
|
||||||
int numBlocks = 16 * 4;
|
int numBlocks = 16 * 4;
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '0' : numBlocks = 5 * 4; break;
|
case '0' : numBlocks = 5 * 4; break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue