Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/opengl.c:
+#if defined(SONAME_LIBEGL)
+WINE_DEFAULT_DEBUG_CHANNEL(waylanddrv);
+#define WL_EGL_PLATFORM 1 +#include <EGL/egl.h> +#include <EGL/eglext.h>
+#include "wine/wgl.h" +#include "wine/wgl_driver.h"
+static void *egl_handle; +static struct opengl_funcs opengl_funcs; +static EGLDisplay egl_display;
+#define DECL_FUNCPTR(f) static __typeof__(f) * p_##f = NULL
This is `typeof` everywhere else in Wine, same for the other `__typeof__` below.
Also you don't need the `= NULL`.
```suggestion:-0+0 #define DECL_FUNCPTR(f) static typeof(f) * p_##f ```