From 1acc931cf0f4de6b4402a70f1343f14df4d83347 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Wed, 9 Feb 2022 15:53:42 -0500 Subject: types/wlr_switch: constify impl --- include/wlr/interfaces/wlr_switch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr/interfaces') diff --git a/include/wlr/interfaces/wlr_switch.h b/include/wlr/interfaces/wlr_switch.h index cce55f98..fbf5e6cb 100644 --- a/include/wlr/interfaces/wlr_switch.h +++ b/include/wlr/interfaces/wlr_switch.h @@ -16,7 +16,7 @@ struct wlr_switch_impl { }; void wlr_switch_init(struct wlr_switch *switch_device, - struct wlr_switch_impl *impl, const char *name); + const struct wlr_switch_impl *impl, const char *name); void wlr_switch_destroy(struct wlr_switch *switch_device); #endif -- cgit v1.2.3