aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi/glapi_nop.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mapi/glapi/glapi_nop.c')
-rwxr-xr-x[-rw-r--r--]mesalib/src/mapi/glapi/glapi_nop.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/mesalib/src/mapi/glapi/glapi_nop.c b/mesalib/src/mapi/glapi/glapi_nop.c
index 13db310b3..e006e0259 100644..100755
--- a/mesalib/src/mapi/glapi/glapi_nop.c
+++ b/mesalib/src/mapi/glapi/glapi_nop.c
@@ -48,13 +48,15 @@
#include <string.h>
#include "glapi/glapi_priv.h"
+#undef _GLAPI_EXPORT
+#define _GLAPI_EXPORT
-void
+void _GLAPI_EXPORT
_glapi_noop_enable_warnings(unsigned char enable)
{
}
-void
+void _GLAPI_EXPORT
_glapi_set_warning_func(_glapi_proc func)
{
}
@@ -70,7 +72,7 @@ static _glapi_nop_handler_proc nop_handler = NULL;
/**
* Register the no-op handler call-back function.
*/
-void
+_GLAPI_EXPORT void
_glapi_set_nop_handler(_glapi_nop_handler_proc func)
{
nop_handler = func;
@@ -116,11 +118,11 @@ NoOpUnused(void)
#define DISPATCH_TABLE_NAME __glapi_noop_table
#define UNUSED_TABLE_NAME __unused_noop_functions
-#include "glapi/glapitemp.h"
+#include "glapi/gen/glapitemp.h"
/** Return pointer to new dispatch table filled with no-op functions */
-struct _glapi_table *
+struct _glapi_table * _GLAPI_EXPORT
_glapi_new_nop_table(unsigned num_entries)
{
struct _glapi_table *table = malloc(num_entries * sizeof(_glapi_proc));