From 2d4bc66f11f2ada674158ddc81e2ec184a534865 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Mon, 15 Jul 2019 22:54:39 +0200 Subject: wlr_touch: Declare wlr_touch_impl usage as const This brings it in line with wlr_keyboard and wlr_pointer --- include/wlr/interfaces/wlr_touch.h | 2 +- include/wlr/types/wlr_touch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/interfaces/wlr_touch.h b/include/wlr/interfaces/wlr_touch.h index cc426332..e4ea6a78 100644 --- a/include/wlr/interfaces/wlr_touch.h +++ b/include/wlr/interfaces/wlr_touch.h @@ -16,7 +16,7 @@ struct wlr_touch_impl { }; void wlr_touch_init(struct wlr_touch *touch, - struct wlr_touch_impl *impl); + const struct wlr_touch_impl *impl); void wlr_touch_destroy(struct wlr_touch *touch); #endif diff --git a/include/wlr/types/wlr_touch.h b/include/wlr/types/wlr_touch.h index 99316ae0..80ba768e 100644 --- a/include/wlr/types/wlr_touch.h +++ b/include/wlr/types/wlr_touch.h @@ -15,7 +15,7 @@ struct wlr_touch_impl; struct wlr_touch { - struct wlr_touch_impl *impl; + const struct wlr_touch_impl *impl; struct { struct wl_signal down; -- cgit v1.2.3