diff options
-rw-r--r-- | src/evdev-mt-touchpad.c | 1 | ||||
-rw-r--r-- | src/evdev.c | 1 | ||||
-rw-r--r-- | src/libinput-util.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index c0fc5d93..cbd74df0 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -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) diff --git a/src/evdev.c b/src/evdev.c index 860f69df..6d81f58f 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -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) diff --git a/src/libinput-util.h b/src/libinput-util.h index 76da5aeb..275d8c0b 100644 --- a/src/libinput-util.h +++ b/src/libinput-util.h @@ -65,5 +65,6 @@ } while (0) #define LIBINPUT_EXPORT __attribute__ ((visibility("default"))) +#define LIBINPUT_UNUSED __attribute__ ((unused)) #endif /* LIBINPUT_UTIL_H */ |