From 1d9be89e2d62316690ed211e50b79f2bec38e00f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 19 Feb 2018 18:01:27 -0500 Subject: Revert "ELF Visibility" --- include/backend/libinput.h | 2 -- include/util/defs.h | 10 ---------- include/wlr/backend.h | 2 ++ 3 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 include/util/defs.h (limited to 'include') diff --git a/include/backend/libinput.h b/include/backend/libinput.h index 180984b5..f828c310 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -83,6 +83,4 @@ void handle_tablet_pad_ring(struct libinput_event *event, void handle_tablet_pad_strip(struct libinput_event *event, struct libinput_device *device); -uint32_t usec_to_msec(uint64_t usec); - #endif diff --git a/include/util/defs.h b/include/util/defs.h deleted file mode 100644 index 55a21f6b..00000000 --- a/include/util/defs.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef UTIL_DEFS_H -#define UTIL_DEFS_H - -#ifdef __GNUC__ -#define WLR_API __attribute__((visibility("default"))) -#else -#define WLR_API -#endif - -#endif diff --git a/include/wlr/backend.h b/include/wlr/backend.h index 840c9ba4..00dc9fdc 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -23,4 +23,6 @@ void wlr_backend_destroy(struct wlr_backend *backend); struct wlr_egl *wlr_backend_get_egl(struct wlr_backend *backend); struct wlr_renderer *wlr_backend_get_renderer(struct wlr_backend *backend); +uint32_t usec_to_msec(uint64_t usec); + #endif -- cgit v1.2.3