Revert "ELF Visibility"

This commit is contained in:
Drew DeVault 2018-02-19 18:01:27 -05:00 committed by GitHub
parent 09cfa39392
commit 1d9be89e2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 8 additions and 403 deletions

View file

@ -12,7 +12,6 @@
#include <wlr/render/gles2.h>
#include <wlr/util/log.h>
#include "backend/wayland.h"
#include "util/defs.h"
#include "util/signal.h"
#include "xdg-shell-unstable-v6-client-protocol.h"
@ -129,7 +128,6 @@ static struct wlr_backend_impl backend_impl = {
.get_renderer = wlr_wl_backend_get_renderer,
};
WLR_API
bool wlr_backend_is_wl(struct wlr_backend *b) {
return b->impl == &backend_impl;
}
@ -183,7 +181,6 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) {
wlr_wl_backend_destroy(&backend->backend);
}
WLR_API
struct wlr_backend *wlr_wl_backend_create(struct wl_display *display, const char *remote) {
wlr_log(L_INFO, "Creating wayland backend");

View file

@ -11,7 +11,6 @@
#include <wlr/interfaces/wlr_output.h>
#include <wlr/util/log.h>
#include "backend/wayland.h"
#include "util/defs.h"
#include "util/signal.h"
#include "xdg-shell-unstable-v6-client-protocol.h"
@ -218,7 +217,6 @@ static struct wlr_output_impl output_impl = {
.move_cursor = wlr_wl_output_move_cursor,
};
WLR_API
bool wlr_output_is_wl(struct wlr_output *wlr_output) {
return wlr_output->impl == &output_impl;
}
@ -262,7 +260,6 @@ static struct zxdg_toplevel_v6_listener xdg_toplevel_listener = {
.close = xdg_toplevel_handle_close,
};
WLR_API
struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) {
assert(wlr_backend_is_wl(_backend));
struct wlr_wl_backend *backend = (struct wlr_wl_backend *)_backend;

View file

@ -11,7 +11,6 @@
#include <wlr/interfaces/wlr_touch.h>
#include <wlr/util/log.h>
#include "backend/wayland.h"
#include "util/defs.h"
#include "util/signal.h"
static void pointer_handle_enter(void *data, struct wl_pointer *wl_pointer,
@ -206,7 +205,6 @@ static struct wlr_input_device_impl input_device_impl = {
.destroy = input_device_destroy
};
WLR_API
bool wlr_input_device_is_wl(struct wlr_input_device *dev) {
return dev->impl == &input_device_impl;
}