egl/wayland: do not wrap header inclusion in extern "C"
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:

committed by
Emil Velikov

parent
750da80b34
commit
d426c17550
@@ -1,10 +1,6 @@
|
||||
#ifndef _WAYLAND_EGL_PRIV_H
|
||||
#define _WAYLAND_EGL_PRIV_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* GCC visibility */
|
||||
#if defined(__GNUC__)
|
||||
#define WL_EGL_EXPORT __attribute__ ((visibility("default")))
|
||||
@@ -14,6 +10,10 @@ extern "C" {
|
||||
|
||||
#include <wayland-client.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct wl_egl_window {
|
||||
struct wl_surface *surface;
|
||||
|
||||
|
Reference in New Issue
Block a user