treewide: make type-check helpers take const pointers

This commit is contained in:
YaoBing Xiao 2026-03-06 15:59:18 +08:00
parent 3336d28813
commit 14b3c96c1e
26 changed files with 38 additions and 38 deletions

View file

@ -29,7 +29,7 @@ struct libinput_device *wlr_libinput_get_device_handle(
struct libinput_tablet_tool *wlr_libinput_get_tablet_tool_handle(
struct wlr_tablet_tool *wlr_tablet_tool);
bool wlr_backend_is_libinput(struct wlr_backend *backend);
bool wlr_backend_is_libinput(const struct wlr_backend *backend);
bool wlr_input_device_is_libinput(struct wlr_input_device *device);
#endif