Fix compiler warnings

nfc-relay.c:65: warning: no previous prototype for ‘intr_hdlr’
nfc-relay.c:73: warning: no previous prototype for ‘print_usage’
This commit is contained in:
Ludovic Rousseau 2012-05-13 12:36:59 +00:00
parent 61ba0478cd
commit 43569e22e4

View file

@ -60,7 +60,7 @@ static nfc_device *pndReader;
static nfc_device *pndTag; static nfc_device *pndTag;
static bool quitting = false; static bool quitting = false;
void static void
intr_hdlr (void) intr_hdlr (void)
{ {
printf ("\nQuitting...\n"); printf ("\nQuitting...\n");
@ -68,7 +68,7 @@ intr_hdlr (void)
return; return;
} }
void static void
print_usage (char *argv[]) print_usage (char *argv[])
{ {
printf ("Usage: %s [OPTIONS]\n", argv[0]); printf ("Usage: %s [OPTIONS]\n", argv[0]);