aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-19 18:01:27 -0500
committerGitHub <noreply@github.com>2018-02-19 18:01:27 -0500
commit1d9be89e2d62316690ed211e50b79f2bec38e00f (patch)
tree266f8d4438350bbaa56567f5553ca441e5d4f1be /backend/drm
parent09cfa39392bd049225b1be7590cd099131472bf2 (diff)
Revert "ELF Visibility"
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/backend.c3
-rw-r--r--backend/drm/drm.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index 571c5c9d..47dff227 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -13,7 +13,6 @@
#include <wlr/util/log.h>
#include <xf86drm.h>
#include "backend/drm/drm.h"
-#include "util/defs.h"
#include "util/signal.h"
static bool wlr_drm_backend_start(struct wlr_backend *backend) {
@@ -67,7 +66,6 @@ static struct wlr_backend_impl backend_impl = {
.get_renderer = wlr_drm_backend_get_renderer,
};
-WLR_API
bool wlr_backend_is_drm(struct wlr_backend *b) {
return b->impl == &backend_impl;
}
@@ -119,7 +117,6 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) {
wlr_drm_backend_destroy(&drm->backend);
}
-WLR_API
struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
struct wlr_session *session, int gpu_fd, struct wlr_backend *parent) {
assert(display && session && gpu_fd >= 0);
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 493ef1f5..e60b7e1c 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -24,7 +24,6 @@
#include "backend/drm/drm.h"
#include "backend/drm/iface.h"
#include "backend/drm/util.h"
-#include "util/defs.h"
#include "util/signal.h"
bool wlr_drm_check_features(struct wlr_drm_backend *drm) {
@@ -729,7 +728,6 @@ static struct wlr_output_impl output_impl = {
.get_gamma_size = wlr_drm_connector_get_gamma_size,
};
-WLR_API
bool wlr_output_is_drm(struct wlr_output *output) {
return output->impl == &output_impl;
}