summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/glapi/glapi.c2
-rw-r--r--src/mesa/glapi/glapi.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index f395d1879a..8bc185c01b 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -837,7 +837,7 @@ _glapi_get_proc_offset(const char *funcName)
* in the name of static functions, try generating a new API entrypoint on
* the fly with assembly language.
*/
-const _glapi_proc
+_glapi_proc
_glapi_get_proc_address(const char *funcName)
{
GLuint i;
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h
index 7cdccc1275..0076f7f89d 100644
--- a/src/mesa/glapi/glapi.h
+++ b/src/mesa/glapi/glapi.h
@@ -117,7 +117,7 @@ extern GLint
_glapi_get_proc_offset(const char *funcName);
-extern const _glapi_proc
+extern _glapi_proc
_glapi_get_proc_address(const char *funcName);