wayland-egl: move WL_EGL_EXPORT declaration to where it's used
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Miguel A. Vico <mvicomoya@nvidia.com>
This commit is contained in:
parent
0f8b0c04eb
commit
ebc51ff932
|
@ -28,13 +28,6 @@
|
||||||
#ifndef _WAYLAND_EGL_PRIV_H
|
#ifndef _WAYLAND_EGL_PRIV_H
|
||||||
#define _WAYLAND_EGL_PRIV_H
|
#define _WAYLAND_EGL_PRIV_H
|
||||||
|
|
||||||
/* GCC visibility */
|
|
||||||
#if defined(__GNUC__)
|
|
||||||
#define WL_EGL_EXPORT __attribute__ ((visibility("default")))
|
|
||||||
#else
|
|
||||||
#define WL_EGL_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -33,6 +33,13 @@
|
||||||
#include "wayland-egl.h"
|
#include "wayland-egl.h"
|
||||||
#include "wayland-egl-backend.h"
|
#include "wayland-egl-backend.h"
|
||||||
|
|
||||||
|
/* GCC visibility */
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
#define WL_EGL_EXPORT __attribute__ ((visibility("default")))
|
||||||
|
#else
|
||||||
|
#define WL_EGL_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
WL_EGL_EXPORT void
|
WL_EGL_EXPORT void
|
||||||
wl_egl_window_resize(struct wl_egl_window *egl_window,
|
wl_egl_window_resize(struct wl_egl_window *egl_window,
|
||||||
int width, int height,
|
int width, int height,
|
||||||
|
|
Loading…
Reference in New Issue