mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 12:40:07 +01:00
tools: make to function calls static
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
64efc0b5bf
commit
ab2ab19ca3
1 changed files with 4 additions and 2 deletions
|
|
@ -107,7 +107,8 @@ print_props(struct libevdev *dev)
|
|||
}
|
||||
}
|
||||
|
||||
int print_event(struct input_event *ev)
|
||||
static int
|
||||
print_event(struct input_event *ev)
|
||||
{
|
||||
if (ev->type == EV_SYN)
|
||||
printf("Event: time %ld.%06ld, ++++++++++++++++++++ %s +++++++++++++++\n",
|
||||
|
|
@ -126,7 +127,8 @@ int print_event(struct input_event *ev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int print_sync_event(struct input_event *ev)
|
||||
static int
|
||||
print_sync_event(struct input_event *ev)
|
||||
{
|
||||
printf("SYNC: ");
|
||||
print_event(ev);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue