diff --git a/GL/glesinterface.h b/GL/glesinterface.h
index 46de9e4bda9cb1423fd179c9ce0df6a35ac61255..6f285711770591001b316c99f4beb34cca2cdc7a 100644 (file)
--- a/GL/glesinterface.h
+++ b/GL/glesinterface.h
#define S
#endif
-struct GlESInterface
+typedef struct GlESInterface_s
{
int (*eglChooseConfig) (int dpy, const int *attrib_list, int *configs, int config_size, int *num_config) S;
int (*eglGetDisplay) (int display) S;
int (*eglGetError) (void) S;
- void (*(*eglGetProcAddress) (const char *procname))(...) S;
+ void *(*eglGetProcAddress) (const char *procname) S;
int (*eglInitialize) (int dpy, int *major, int *minor) S;
int (*eglMakeCurrent) (int dpy, int draw, int read, int ctx) S;
int (*eglReleaseTexImage) (int dpy, int surface, int buffer) S;
int (*eglSurfaceAttrib) (int dpy, int surface, int attribute, int value) S;
- };
+ } GlESInterface;
#if !defined (__WINS__)
#if defined(__TARGET_FPU_VFP)
#pragma no_softfp_linkage