Use new _glapi_proc typedef instead of void * for function pointers.
Misc clean-ups in glapi.c
diff --git a/src/mesa/glapi/gl_procs.py b/src/mesa/glapi/gl_procs.py
index e5f5752..b8a6253 100644
--- a/src/mesa/glapi/gl_procs.py
+++ b/src/mesa/glapi/gl_procs.py
@@ -52,13 +52,13 @@
print 'typedef struct {'
print ' int Name_offset;'
print '#ifdef NEED_FUNCTION_POINTER'
- print ' void * Address;'
+ print ' _glapi_proc Address;'
print '#endif'
print ' unsigned int Offset;'
print '} glprocs_table_t;'
print ''
print '#ifdef NEED_FUNCTION_POINTER'
- print '# define NAME_FUNC_OFFSET(n,f,o) { n , (void *) f , o }'
+ print '# define NAME_FUNC_OFFSET(n,f,o) { n , (_glapi_proc) f , o }'
print '#else'
print '# define NAME_FUNC_OFFSET(n,f,o) { n , o }'
print '#endif'