aboutsummaryrefslogtreecommitdiff
path: root/backend/multi
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2021-02-04 08:57:18 -0500
committerSimon Ser <contact@emersion.fr>2021-02-05 10:04:20 +0100
commita290d7a78dc36275e24e54f84570f37a66dc67a4 (patch)
tree87092b45033957545192fa80288d1a4be3bf69c1 /backend/multi
parentb6dea80907b840ed30f056b618ee20492870f664 (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 'backend/multi')
-rw-r--r--backend/multi/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c
index ddefc0ce..a8f96669 100644
--- a/backend/multi/backend.c
+++ b/backend/multi/backend.c
@@ -110,7 +110,7 @@ static int multi_backend_get_drm_fd(struct wlr_backend *backend) {
return -1;
}
-struct wlr_backend_impl backend_impl = {
+static const struct wlr_backend_impl backend_impl = {
.start = multi_backend_start,
.destroy = multi_backend_destroy,
.get_renderer = multi_backend_get_renderer,