Fix compiler warnings:

nfc-emulate-tag.c:65: warning: no previous prototype for ‘intr_hdlr’
nfc-emulate-tag.c:76: warning: no previous prototype for ‘target_io’
nfc-emulate-tag.c:139: warning: no previous prototype for ‘nfc_target_emulate_tag’
This commit is contained in:
Ludovic Rousseau 2012-05-13 12:44:13 +00:00
parent b65c133f80
commit a7325ffded

View file

@ -60,7 +60,7 @@ static nfc_device *pnd;
static bool quiet_output = false; static bool quiet_output = false;
static bool init_mfc_auth = false; static bool init_mfc_auth = false;
void static void
intr_hdlr (void) intr_hdlr (void)
{ {
printf ("\nQuitting...\n"); printf ("\nQuitting...\n");
@ -71,7 +71,7 @@ intr_hdlr (void)
exit (EXIT_FAILURE); exit (EXIT_FAILURE);
} }
bool static bool
target_io( nfc_target *pnt, const uint8_t *pbtInput, const size_t szInput, uint8_t *pbtOutput, size_t *pszOutput ) target_io( nfc_target *pnt, const uint8_t *pbtInput, const size_t szInput, uint8_t *pbtOutput, size_t *pszOutput )
{ {
bool loop = true; bool loop = true;
@ -134,7 +134,7 @@ target_io( nfc_target *pnt, const uint8_t *pbtInput, const size_t szInput, uint8
return loop; return loop;
} }
bool static bool
nfc_target_emulate_tag(nfc_device *pnd, nfc_target *pnt) nfc_target_emulate_tag(nfc_device *pnd, nfc_target *pnt)
{ {
size_t szTx; size_t szTx;