aboutsummaryrefslogtreecommitdiff
path: root/backend/session
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/session
parent09cfa39392bd049225b1be7590cd099131472bf2 (diff)
Revert "ELF Visibility"
Diffstat (limited to 'backend/session')
-rw-r--r--backend/session/session.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/backend/session/session.c b/backend/session/session.c
index 5e6fd4ea..2d5d9776 100644
--- a/backend/session/session.c
+++ b/backend/session/session.c
@@ -13,7 +13,6 @@
#include <wlr/util/log.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
-#include "util/defs.h"
#include "util/signal.h"
extern const struct session_impl session_logind;
@@ -67,7 +66,6 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) {
wlr_session_destroy(session);
}
-WLR_API
struct wlr_session *wlr_session_create(struct wl_display *disp) {
struct wlr_session *session = NULL;
const struct session_impl **iter;
@@ -124,7 +122,6 @@ error_session:
return NULL;
}
-WLR_API
void wlr_session_destroy(struct wlr_session *session) {
if (!session) {
return;
@@ -139,7 +136,6 @@ void wlr_session_destroy(struct wlr_session *session) {
session->impl->destroy(session);
}
-WLR_API
int wlr_session_open_file(struct wlr_session *session, const char *path) {
int fd = session->impl->open(session, path);
if (fd < 0) {
@@ -183,7 +179,6 @@ static struct wlr_device *find_device(struct wlr_session *session, int fd) {
assert(0);
}
-WLR_API
void wlr_session_close_file(struct wlr_session *session, int fd) {
struct wlr_device *dev = find_device(session, fd);
@@ -192,7 +187,6 @@ void wlr_session_close_file(struct wlr_session *session, int fd) {
free(dev);
}
-WLR_API
void wlr_session_signal_add(struct wlr_session *session, int fd,
struct wl_listener *listener) {
struct wlr_device *dev = find_device(session, fd);
@@ -200,7 +194,6 @@ void wlr_session_signal_add(struct wlr_session *session, int fd,
wl_signal_add(&dev->signal, listener);
}
-WLR_API
bool wlr_session_change_vt(struct wlr_session *session, unsigned vt) {
if (!session) {
return false;
@@ -276,7 +269,6 @@ static size_t explicit_find_gpus(struct wlr_session *session,
/* Tries to find the primary GPU by checking for the "boot_vga" attribute.
* If it's not found, it returns the first valid GPU it finds.
*/
-WLR_API
size_t wlr_session_find_gpus(struct wlr_session *session,
size_t ret_len, int *ret) {
const char *explicit = getenv("WLR_DRM_DEVICES");