From 3c9fc7c68ec7e0474f40bedc33d55862e03af057 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 6 Mar 2018 19:59:10 +1300 Subject: Add const to x11 and input interfaces --- backend/libinput/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/libinput') diff --git a/backend/libinput/events.c b/backend/libinput/events.c index 603eed07..d92de830 100644 --- a/backend/libinput/events.c +++ b/backend/libinput/events.c @@ -31,7 +31,7 @@ static void wlr_libinput_device_destroy(struct wlr_input_device *_dev) { free(dev); } -static struct wlr_input_device_impl input_device_impl = { +static const struct wlr_input_device_impl input_device_impl = { .destroy = wlr_libinput_device_destroy }; -- cgit v1.2.3