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/multi/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/multi') 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, -- cgit v1.2.3