mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-29 16:00:09 +01:00
evdev: silence a clang compiler warning
Signed-off-by:Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
57a592e2df
commit
5a568cfaf0
3 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -65,5 +65,6 @@
|
|||
} while (0)
|
||||
|
||||
#define LIBINPUT_EXPORT __attribute__ ((visibility("default")))
|
||||
#define LIBINPUT_UNUSED __attribute__ ((unused))
|
||||
|
||||
#endif /* LIBINPUT_UTIL_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue