Fix compiler warnings
nfc-poll.c:57: warning: no previous prototype for ‘stop_polling’ nfc-poll.c:67: warning: no previous prototype for ‘print_usage’
This commit is contained in:
parent
da25554128
commit
b3e21fecd2
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@
|
|||
|
||||
static nfc_device *pnd = NULL;
|
||||
|
||||
void stop_polling (int sig)
|
||||
static void stop_polling (int sig)
|
||||
{
|
||||
(void) sig;
|
||||
if (pnd)
|
||||
|
@ -62,7 +62,7 @@ void stop_polling (int sig)
|
|||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
print_usage (const char* progname)
|
||||
{
|
||||
printf ("usage: %s [-v]\n", progname);
|
||||
|
|
Loading…
Reference in a new issue