diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/backend.c | 3 | ||||
-rw-r--r-- | backend/multi/backend.c | 3 |
2 files changed, 2 insertions, 4 deletions
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 <wlr/backend/wayland.h> #include <wlr/config.h> #include <wlr/util/log.h> -#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; } diff --git a/backend/multi/backend.c b/backend/multi/backend.c index a8f96669..e9ed74ec 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -6,7 +6,6 @@ #include <wlr/backend/interface.h> #include <wlr/backend/session.h> #include <wlr/util/log.h> -#include "backend/backend.h" #include "backend/multi.h" #include "util/signal.h" @@ -103,7 +102,7 @@ static int multi_backend_get_drm_fd(struct wlr_backend *backend) { struct subbackend_state *sub; wl_list_for_each(sub, &multi->backends, link) { if (sub->backend->impl->get_drm_fd) { - return backend_get_drm_fd(sub->backend); + return wlr_backend_get_drm_fd(sub->backend); } } |