aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-02-09 15:53:42 -0500
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-02-21 13:53:40 -0500
commit1acc931cf0f4de6b4402a70f1343f14df4d83347 (patch)
tree7ef4e7425e4a55caeaaea4972632a53a9d77e1f1 /include/wlr/interfaces
parentf1181c34ed3c3dd80299d634de062c4f2d731bac (diff)
types/wlr_switch: constify impl
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_switch.h2
1 files changed, 1 insertions, 1 deletions
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