diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-18 21:49:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-18 21:49:23 -0500 |
commit | 868ad5af69583646ba71d6e73e362818c7416941 (patch) | |
tree | 723b27e9b1fd24e85d9c44203f19364720510827 /include | |
parent | 566c98846a92300d29e9fb4b408fd7e51898d42c (diff) | |
parent | 86269052eb7be715eba274dffc30c77c11b8309c (diff) |
Merge pull request #647 from ascent12/elf_visibility
ELF Visibility
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/libinput.h | 2 | ||||
-rw-r--r-- | include/util/defs.h | 10 | ||||
-rw-r--r-- | include/wlr/backend.h | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h index f828c310..180984b5 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -83,4 +83,6 @@ 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 new file mode 100644 index 00000000..55a21f6b --- /dev/null +++ b/include/util/defs.h @@ -0,0 +1,10 @@ +#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 00dc9fdc..840c9ba4 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -23,6 +23,4 @@ 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 |