summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi_priv.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-03-17 08:44:09 -0600
committerBrian Paul <[email protected]>2010-03-17 08:44:54 -0600
commit59e743b8d393f2bdf023e3a5ad8fe848a7459ec9 (patch)
treed3ed80bf5fceadf70f5ef39cb64e24a24f43633e /src/mesa/glapi/glapi_priv.h
parent90fe8c39f18512d22cdf52cbaa3e86a94a831ee2 (diff)
glapi: fix assorted warnings
And replace some instances of GLuint with unsigned int to avoid pulling in GL/gl.h
Diffstat (limited to 'src/mesa/glapi/glapi_priv.h')
-rw-r--r--src/mesa/glapi/glapi_priv.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/glapi/glapi_priv.h b/src/mesa/glapi/glapi_priv.h
index 0e2de460f2e..da6fee63fe7 100644
--- a/src/mesa/glapi/glapi_priv.h
+++ b/src/mesa/glapi/glapi_priv.h
@@ -27,6 +27,8 @@
#define _GLAPI_PRIV_H
#include "glthread.h"
+#include "glapi.h"
+
/* getproc */
@@ -42,7 +44,7 @@ _glapi_check_table(const struct _glapi_table *table);
/* execmem */
extern void *
-_glapi_exec_malloc(GLuint size);
+_glapi_exec_malloc(unsigned int size);
/* entrypoint */
@@ -52,15 +54,15 @@ init_glapi_relocs_once(void);
extern _glapi_proc
-generate_entrypoint(GLuint functionOffset);
+generate_entrypoint(unsigned int functionOffset);
extern void
-fill_in_entrypoint_offset(_glapi_proc entrypoint, GLuint offset);
+fill_in_entrypoint_offset(_glapi_proc entrypoint, unsigned int offset);
extern _glapi_proc
-get_entrypoint_address(GLuint functionOffset);
+get_entrypoint_address(unsigned int functionOffset);
/**