made small finctions static

This commit is contained in:
merlokk 2017-09-22 19:03:06 +03:00
commit 719970fc05
2 changed files with 2 additions and 2 deletions

View file

@ -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) {
return ((blockN & 0x03) == 0x03);
}

View file

@ -1854,7 +1854,7 @@ int CmdHF14AMfCSetUID(const char *Cmd)
return 0;
}
int ParamGetCardSize(const char c) {
static int ParamGetCardSize(const char c) {
int numBlocks = 16 * 4;
switch (c) {
case '0' : numBlocks = 5 * 4; break;