aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
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/drm
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/drm')
-rw-r--r--backend/drm/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index 0acd4796..e09efb12 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -87,7 +87,7 @@ static int backend_get_drm_fd(struct wlr_backend *backend) {
}
}
-static struct wlr_backend_impl backend_impl = {
+static const struct wlr_backend_impl backend_impl = {
.start = backend_start,
.destroy = backend_destroy,
.get_renderer = backend_get_renderer,