summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/glapi_nop.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-08-21 11:50:22 +0800
committerChia-I Wu <olv@lunarg.com>2010-08-21 14:13:59 +0800
commit760451baaec42bced6ade5026546ed3759495d70 (patch)
tree8826e7528534ac10e97b06de836f3bd1b14c6158 /src/mapi/glapi/glapi_nop.c
parent0eac4b8740d4434037677166f2339e894d4ebac4 (diff)
glapi: Move public function/variable declarations to glapi.h.
glapi defines an interface that is used by DRI drivers. It must not be changed in an ABI incompatible way. This commit moves all functions/variables belong to the interface to glapi.h. Instead of including u_current.h from glapi.h, u_current.h now includes glapi.h.
Diffstat (limited to 'src/mapi/glapi/glapi_nop.c')
-rw-r--r--src/mapi/glapi/glapi_nop.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mapi/glapi/glapi_nop.c b/src/mapi/glapi/glapi_nop.c
index 9709551ee7..df46ca8c89 100644
--- a/src/mapi/glapi/glapi_nop.c
+++ b/src/mapi/glapi/glapi_nop.c
@@ -49,17 +49,8 @@
#include "glapi/glapi.h"
-/*
- * These stubs are kept so that the old DRI drivers still load.
- */
-PUBLIC void
-_glapi_noop_enable_warnings(GLboolean enable);
-
-PUBLIC void
-_glapi_set_warning_func(_glapi_proc func);
-
void
-_glapi_noop_enable_warnings(GLboolean enable)
+_glapi_noop_enable_warnings(unsigned char enable)
{
}