aboutsummaryrefslogtreecommitdiff
path: root/backend/headless
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2018-03-06 19:59:10 +1300
committerScott Anderson <ascent12@hotmail.com>2018-03-06 21:16:18 +1300
commit3c9fc7c68ec7e0474f40bedc33d55862e03af057 (patch)
tree92f33db4faf0ae3ff1f8345805303fb2c0884dd2 /backend/headless
parent902d6cc240c5ecb5a19cf67173b968bfed34c565 (diff)
Add const to x11 and input interfaces
Diffstat (limited to 'backend/headless')
-rw-r--r--backend/headless/input_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/headless/input_device.c b/backend/headless/input_device.c
index ea335aff..daa22436 100644
--- a/backend/headless/input_device.c
+++ b/backend/headless/input_device.c
@@ -15,7 +15,7 @@ static void input_device_destroy(struct wlr_input_device *wlr_dev) {
free(device);
}
-static struct wlr_input_device_impl input_device_impl = {
+static const struct wlr_input_device_impl input_device_impl = {
.destroy = input_device_destroy,
};