From a7325ffdedfff4cb7932027ebfdc207e1ba71a61 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sun, 13 May 2012 12:44:13 +0000 Subject: [PATCH] Fix compiler warnings: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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’ --- examples/nfc-emulate-tag.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/nfc-emulate-tag.c b/examples/nfc-emulate-tag.c index 7e236fe..8713dd0 100644 --- a/examples/nfc-emulate-tag.c +++ b/examples/nfc-emulate-tag.c @@ -60,7 +60,7 @@ static nfc_device *pnd; static bool quiet_output = false; static bool init_mfc_auth = false; -void +static void intr_hdlr (void) { printf ("\nQuitting...\n"); @@ -71,7 +71,7 @@ intr_hdlr (void) 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 ) { bool loop = true; @@ -134,7 +134,7 @@ target_io( nfc_target *pnt, const uint8_t *pbtInput, const size_t szInput, uint8 return loop; } -bool +static bool nfc_target_emulate_tag(nfc_device *pnd, nfc_target *pnt) { size_t szTx;