Fix compiler warnings
mifare-classic-write-ndef.c:67: warning: no previous prototype for ‘search_sector_key’ mifare-classic-write-ndef.c:105: warning: no previous prototype for ‘fix_mad_trailer_block’
This commit is contained in:
parent
1a9fcabf89
commit
5dc7a20c1c
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ const uint8_t ndef_default_msg[33] = {
|
|||
uint8_t *ndef_msg;
|
||||
size_t ndef_msg_len;
|
||||
|
||||
int
|
||||
static int
|
||||
search_sector_key (MifareTag tag, MifareClassicSectorNumber sector, MifareClassicKey *key, MifareClassicKeyType *key_type)
|
||||
{
|
||||
MifareClassicBlockNumber block = mifare_classic_sector_last_block (sector);
|
||||
|
@ -100,7 +100,7 @@ search_sector_key (MifareTag tag, MifareClassicSectorNumber sector, MifareClassi
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
fix_mad_trailer_block (nfc_device *device, MifareTag tag, MifareClassicSectorNumber sector, MifareClassicKey key, MifareClassicKeyType key_type)
|
||||
{
|
||||
MifareClassicBlock block;
|
||||
|
|
Loading…
Reference in a new issue