diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2021-02-04 08:57:18 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-05 10:04:20 +0100 |
commit | a290d7a78dc36275e24e54f84570f37a66dc67a4 (patch) | |
tree | 87092b45033957545192fa80288d1a4be3bf69c1 /include | |
parent | b6dea80907b840ed30f056b618ee20492870f664 (diff) |
Make implementation function lists static const
This requires a change to the type of `struct wlr_tablet` and
`wlr_tablet_init` signature, both of which are part of the unstable API.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/interfaces/wlr_tablet_tool.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_tablet_tool.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_tablet_tool.h b/include/wlr/interfaces/wlr_tablet_tool.h index 9cfc3ca0..81e72d75 100644 --- a/include/wlr/interfaces/wlr_tablet_tool.h +++ b/include/wlr/interfaces/wlr_tablet_tool.h @@ -16,7 +16,7 @@ struct wlr_tablet_impl { }; void wlr_tablet_init(struct wlr_tablet *tablet, - struct wlr_tablet_impl *impl); + const struct wlr_tablet_impl *impl); void wlr_tablet_destroy(struct wlr_tablet *tablet); #endif diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h index 4dbac4d0..9dbf6ffb 100644 --- a/include/wlr/types/wlr_tablet_tool.h +++ b/include/wlr/types/wlr_tablet_tool.h @@ -61,7 +61,7 @@ struct wlr_tablet_tool { struct wlr_tablet_impl; struct wlr_tablet { - struct wlr_tablet_impl *impl; + const struct wlr_tablet_impl *impl; struct { struct wl_signal axis; |