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:
Ludovic Rousseau 2012-05-13 12:39:17 +00:00
parent da25554128
commit b3e21fecd2

View file

@ -53,7 +53,7 @@
static nfc_device *pnd = NULL; static nfc_device *pnd = NULL;
void stop_polling (int sig) static void stop_polling (int sig)
{ {
(void) sig; (void) sig;
if (pnd) if (pnd)
@ -62,7 +62,7 @@ void stop_polling (int sig)
exit (EXIT_FAILURE); exit (EXIT_FAILURE);
} }
void static void
print_usage (const char* progname) print_usage (const char* progname)
{ {
printf ("usage: %s [-v]\n", progname); printf ("usage: %s [-v]\n", progname);