tools: fix compiler warning 'no previous prototype'

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-04-02 12:04:25 +10:00
committed by bentiss
parent 7fdcf62bf2
commit cb487a6d1a
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ dump_all_pages(struct hidpp10_device *dev)
return rc;
}
void
static void
usage(void)
{
printf("Usage: %s [page] [offset] /dev/hidraw0\n", program_invocation_short_name);

View File

@@ -83,7 +83,7 @@ dump_everything(struct hidpp20_device *dev)
return dump_all_pages(dev, 1);
}
void
static void
usage(void)
{
printf("Usage: %s [page] [offset] /dev/hidraw0\n", program_invocation_short_name);