ProgramCallbackMesa must match the prototype
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c
index a45bc50..2d39821 100644
--- a/src/mesa/shader/program.c
+++ b/src/mesa/shader/program.c
@@ -1143,7 +1143,7 @@
/* XXX temporary */
-void
+GLAPI void GLAPIENTRY
glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback,
GLvoid *data)
{
@@ -1191,7 +1191,7 @@
/* XXX temporary */
-void
+GLAPI void GLAPIENTRY
glGetProgramRegisterfvMESA(GLenum target,
GLsizei len, const GLubyte *registerName,
GLfloat *v)