Fix compiler warnings

nfc-emulate-forum-tag2.c:78: warning: no previous prototype for ‘stop_emulation’
nfc-emulate-forum-tag2.c:116: warning: no previous prototype for ‘nfcforum_tag2_io’
This commit is contained in:
Ludovic Rousseau 2012-05-13 12:50:30 +00:00
parent 72ad8f7ad5
commit edefdf0157

View file

@ -73,7 +73,7 @@
static nfc_device *pnd; static nfc_device *pnd;
void static void
stop_emulation (int sig) stop_emulation (int sig)
{ {
(void)sig; (void)sig;
@ -111,7 +111,7 @@ static uint8_t __nfcforum_tag2_memory_area[] = {
#define SECTOR_SELECT 0xC2 #define SECTOR_SELECT 0xC2
#define HALT 0x50 #define HALT 0x50
int static int
nfcforum_tag2_io (struct nfc_emulator *emulator, const uint8_t *data_in, const size_t data_in_len, uint8_t *data_out, const size_t data_out_len) nfcforum_tag2_io (struct nfc_emulator *emulator, const uint8_t *data_in, const size_t data_in_len, uint8_t *data_out, const size_t data_out_len)
{ {
int res = 0; int res = 0;