diff options
| author | Drew DeVault <sir@cmpwn.com> | 2018-02-19 18:01:27 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-19 18:01:27 -0500 | 
| commit | 1d9be89e2d62316690ed211e50b79f2bec38e00f (patch) | |
| tree | 266f8d4438350bbaa56567f5553ca441e5d4f1be /backend/libinput | |
| parent | 09cfa39392bd049225b1be7590cd099131472bf2 (diff) | |
| download | wlroots-1d9be89e2d62316690ed211e50b79f2bec38e00f.tar.xz | |
Revert "ELF Visibility"
Diffstat (limited to 'backend/libinput')
| -rw-r--r-- | backend/libinput/backend.c | 8 | ||||
| -rw-r--r-- | backend/libinput/events.c | 2 | 
2 files changed, 0 insertions, 10 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c index 41a04a27..71fe0d93 100644 --- a/backend/libinput/backend.c +++ b/backend/libinput/backend.c @@ -5,7 +5,6 @@  #include <wlr/backend/session.h>  #include <wlr/util/log.h>  #include "backend/libinput.h" -#include "util/defs.h"  #include "util/signal.h"  static int wlr_libinput_open_restricted(const char *path, @@ -129,7 +128,6 @@ static struct wlr_backend_impl backend_impl = {  	.destroy = wlr_libinput_backend_destroy  }; -WLR_API  bool wlr_backend_is_libinput(struct wlr_backend *b) {  	return b->impl == &backend_impl;  } @@ -156,7 +154,6 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) {  	wlr_libinput_backend_destroy(&backend->backend);  } -WLR_API  struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display,  		struct wlr_session *session) {  	assert(display && session); @@ -188,12 +185,7 @@ error_backend:  	return NULL;  } -WLR_API  struct libinput_device *wlr_libinput_get_device_handle(struct wlr_input_device *_dev) {  	struct wlr_libinput_input_device *dev = (struct wlr_libinput_input_device *)_dev;  	return dev->handle;  } - -uint32_t usec_to_msec(uint64_t usec) { -	return (uint32_t)(usec / 1000); -} diff --git a/backend/libinput/events.c b/backend/libinput/events.c index 7faff92f..603eed07 100644 --- a/backend/libinput/events.c +++ b/backend/libinput/events.c @@ -6,7 +6,6 @@  #include <wlr/interfaces/wlr_input_device.h>  #include <wlr/util/log.h>  #include "backend/libinput.h" -#include "util/defs.h"  #include "util/signal.h"  struct wlr_input_device *get_appropriate_device( @@ -55,7 +54,6 @@ static struct wlr_input_device *allocate_device(  	return wlr_dev;  } -WLR_API  bool wlr_input_device_is_libinput(struct wlr_input_device *wlr_dev) {          return wlr_dev->impl == &input_device_impl;  }  | 
