aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/libinput.h2
-rw-r--r--include/util/defs.h10
-rw-r--r--include/wlr/backend.h2
3 files changed, 2 insertions, 12 deletions
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