From b36af22c94ea8e02616f5ab0ca06001f41f69a49 Mon Sep 17 00:00:00 2001 From: Roman Gilg Date: Mon, 12 Apr 2021 10:39:51 +0200 Subject: backend: move get_drm_fd to public interface The get_drm_fd was made available in an internal header with a53ab146f. Move it now to the public header so consumers opting in to the unstable interfaces can make use of it. --- backend/backend.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'backend/backend.c') diff --git a/backend/backend.c b/backend/backend.c index 245bd429..b93b1e22 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -16,7 +16,6 @@ #include #include #include -#include "backend/backend.h" #include "backend/multi.h" #if WLR_HAS_X11_BACKEND @@ -72,7 +71,7 @@ clockid_t wlr_backend_get_presentation_clock(struct wlr_backend *backend) { return CLOCK_MONOTONIC; } -int backend_get_drm_fd(struct wlr_backend *backend) { +int wlr_backend_get_drm_fd(struct wlr_backend *backend) { if (!backend->impl->get_drm_fd) { return -1; } -- cgit v1.2.3