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:
parent
61ba0478cd
commit
43569e22e4
1 changed files with 2 additions and 2 deletions
|
@ -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]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue