evdev: silence a clang compiler warning

Signed-off-by:Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2021-07-12 21:09:15 +10:00
parent 57a592e2df
commit 5a568cfaf0
3 changed files with 3 additions and 0 deletions

View file

@ -1916,6 +1916,7 @@ tp_handle_state(struct tp_dispatch *tp,
tp_apply_rotation(tp->device);
}
LIBINPUT_UNUSED
static inline void
tp_debug_touch_state(struct tp_dispatch *tp,
struct evdev_device *device)

View file

@ -1010,6 +1010,7 @@ evdev_read_switch_reliability_prop(struct evdev_device *device)
return r;
}
LIBINPUT_UNUSED
static inline void
evdev_print_event(struct evdev_device *device,
const struct input_event *e)

View file

@ -65,5 +65,6 @@
} while (0)
#define LIBINPUT_EXPORT __attribute__ ((visibility("default")))
#define LIBINPUT_UNUSED __attribute__ ((unused))
#endif /* LIBINPUT_UTIL_H */