mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Add prototypes warnings, use -fvisibility.
This commit is contained in:
parent
f099fd24a3
commit
b7a01928be
9 changed files with 79 additions and 55 deletions
|
|
@ -1,6 +1,13 @@
|
|||
#ifndef _WAYLAND_CLIENT_H
|
||||
#define _WAYLAND_CLIENT_H
|
||||
|
||||
/* GCC visibility */
|
||||
#if defined(__GNUC__) && __GNUC__ >= 4
|
||||
#define WL_EXPORT __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define WL_EXPORT
|
||||
#endif
|
||||
|
||||
struct wl_display;
|
||||
struct wl_surface;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue