From 43569e22e4d7c1fc7008e2cda217abcb27791e8f Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sun, 13 May 2012 12:36:59 +0000 Subject: [PATCH] Fix compiler warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nfc-relay.c:65: warning: no previous prototype for ‘intr_hdlr’ nfc-relay.c:73: warning: no previous prototype for ‘print_usage’ --- examples/nfc-relay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/nfc-relay.c b/examples/nfc-relay.c index 6a95c3f..1b8e9cb 100644 --- a/examples/nfc-relay.c +++ b/examples/nfc-relay.c @@ -60,7 +60,7 @@ static nfc_device *pndReader; static nfc_device *pndTag; static bool quitting = false; -void +static void intr_hdlr (void) { printf ("\nQuitting...\n"); @@ -68,7 +68,7 @@ intr_hdlr (void) return; } -void +static void print_usage (char *argv[]) { printf ("Usage: %s [OPTIONS]\n", argv[0]);