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:
parent
72ad8f7ad5
commit
edefdf0157
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue