summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-05-30 15:47:24 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-05-30 15:47:24 +0000
commit63c715ef41ca4427d800539d03de7be1d2d4d292 (patch)
tree871750ddfb5802ccb357fbdb20c4be6868728feb
parent6d5a5a6d6584661d48f91d5f236b34a97e7f2bf7 (diff)
remove const from _glapi_get_proc_address() return type
-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);