tools: fix prototype for tools_usage

../tools/shared.h:66:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void tools_usage();

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2016-12-05 15:31:37 +10:00
parent 5552a6f145
commit 6e1db369ee
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ log_handler(struct libinput *li,
}
void
tools_usage()
tools_usage(void)
{
printf("Usage: %s [options] [--udev [<seat>]|--device /dev/input/event0]\n"
"--udev <seat>.... Use udev device discovery (default).\n"

View file

@ -63,6 +63,6 @@ int tools_parse_args(int argc, char **argv, struct tools_context *context);
struct libinput* tools_open_backend(struct tools_context *context);
void tools_device_apply_config(struct libinput_device *device,
struct tools_options *options);
void tools_usage();
void tools_usage(void);
#endif