aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi/glapi_getproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mapi/glapi/glapi_getproc.c')
-rw-r--r--mesalib/src/mapi/glapi/glapi_getproc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/mapi/glapi/glapi_getproc.c b/mesalib/src/mapi/glapi/glapi_getproc.c
index a6dbf173e..e0920f9a3 100644
--- a/mesalib/src/mapi/glapi/glapi_getproc.c
+++ b/mesalib/src/mapi/glapi/glapi_getproc.c
@@ -583,6 +583,7 @@ add_function_name( const char * funcName )
* the parameter signature of a static function.
*/
+#ifndef INSERVER
PUBLIC int
_glapi_add_dispatch( const char * const * function_names,
const char * parameter_signature )
@@ -677,7 +678,7 @@ _glapi_add_dispatch( const char * const * function_names,
return offset;
}
-
+#endif
/**
* Return offset of entrypoint for named function within dispatch table.