mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 14:40:26 +01:00
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:
parent
5552a6f145
commit
6e1db369ee
2 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue