diff --git a/auto/src/glew_init_gl.c b/auto/src/glew_init_gl.c index b28013f..f8afab0 100644 --- a/auto/src/glew_init_gl.c +++ b/auto/src/glew_init_gl.c @@ -73,7 +73,7 @@ GLboolean GLEWAPIENTRY glewGetExtension (const char* name) typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGPROC) (GLenum name); typedef void (GLAPIENTRY * PFNGLGETINTEGERVPROC) (GLenum pname, GLint *params); -static GLenum GLEWAPIENTRY glewContextInit () +GLenum GLEWAPIENTRY glewContextInit (void) { PFNGLGETSTRINGPROC getString; const GLubyte* s; diff --git a/auto/src/glew_tail.h b/auto/src/glew_tail.h index 09daade..65c449a 100644 --- a/auto/src/glew_tail.h +++ b/auto/src/glew_tail.h @@ -27,6 +27,7 @@ VERSION_MICRO GLEW_VERSION_MICRO_STRING /* API */ GLEWAPI GLenum GLEWAPIENTRY glewInit (void); +GLEWAPI GLenum GLEWAPIENTRY glewContextInit (void); GLEWAPI GLboolean GLEWAPIENTRY glewIsSupported (const char *name); #define glewIsExtensionSupported(x) glewIsSupported(x)