From 714997fc34837a25822ba0fdb1587181b823a65d Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sun, 13 May 2012 12:48:28 +0000 Subject: [PATCH] Fix compiler warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nfc-emulate-uid.c:70: warning: no previous prototype for ‘intr_hdlr’ nfc-emulate-uid.c:79: warning: no previous prototype for ‘print_usage’ --- examples/nfc-emulate-uid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/nfc-emulate-uid.c b/examples/nfc-emulate-uid.c index cfa2b4f..5131505 100644 --- a/examples/nfc-emulate-uid.c +++ b/examples/nfc-emulate-uid.c @@ -65,7 +65,7 @@ uint8_t abtAtqa[2] = { 0x04, 0x00 }; uint8_t abtUidBcc[5] = { 0xDE, 0xAD, 0xBE, 0xEF, 0x62 }; uint8_t abtSak[9] = { 0x08, 0xb6, 0xdd }; -void +static void intr_hdlr (void) { if (pnd != NULL) { @@ -74,7 +74,7 @@ intr_hdlr (void) } } -void +static void print_usage (char *argv[]) { printf ("Usage: %s [OPTIONS] [UID]\n", argv[0]);