diff options
author | Scott Anderson <ascent12@hotmail.com> | 2018-03-06 19:59:10 +1300 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2018-03-06 21:16:18 +1300 |
commit | 3c9fc7c68ec7e0474f40bedc33d55862e03af057 (patch) | |
tree | 92f33db4faf0ae3ff1f8345805303fb2c0884dd2 /include | |
parent | 902d6cc240c5ecb5a19cf67173b968bfed34c565 (diff) |
Add const to x11 and input interfaces
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/interfaces/wlr_input_device.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_input_device.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_input_device.h b/include/wlr/interfaces/wlr_input_device.h index 2a681ff8..a5c513b7 100644 --- a/include/wlr/interfaces/wlr_input_device.h +++ b/include/wlr/interfaces/wlr_input_device.h @@ -10,7 +10,7 @@ struct wlr_input_device_impl { void wlr_input_device_init( struct wlr_input_device *wlr_device, enum wlr_input_device_type type, - struct wlr_input_device_impl *impl, + const struct wlr_input_device_impl *impl, const char *name, int vendor, int product); void wlr_input_device_destroy(struct wlr_input_device *dev); diff --git a/include/wlr/types/wlr_input_device.h b/include/wlr/types/wlr_input_device.h index 306a1166..6d8e3631 100644 --- a/include/wlr/types/wlr_input_device.h +++ b/include/wlr/types/wlr_input_device.h @@ -24,7 +24,7 @@ enum wlr_input_device_type { struct wlr_input_device_impl; struct wlr_input_device { - struct wlr_input_device_impl *impl; + const struct wlr_input_device_impl *impl; enum wlr_input_device_type type; int vendor, product; |