From a290d7a78dc36275e24e54f84570f37a66dc67a4 Mon Sep 17 00:00:00 2001 From: Manuel Stoeckl Date: Thu, 4 Feb 2021 08:57:18 -0500 Subject: 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. --- backend/drm/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/drm') 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, -- cgit v1.2.3