summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsapountzis@gmail.com>2010-03-03 21:35:37 +0200
committerGeorge Sapountzis <gsapountzis@gmail.com>2010-03-03 21:35:37 +0200
commit5da9c063dfeafd9535e43d3c33ac1759176db8c8 (patch)
tree352bba8ae8ce2960b3f3e70c48d5896ba4ebae59
parentfed53990de51c9050b14510a4182214afad7d613 (diff)
Revert "glapi: enable debug for nop table"
This reverts commit c0eb4d885fbfa60d939e38193b83f1da22d936fc. Use mesa default, do we need this in xserver ?
-rw-r--r--glx/glapi/glapi_nop.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/glx/glapi/glapi_nop.c b/glx/glapi/glapi_nop.c
index cced279de..6a62b2069 100644
--- a/glx/glapi/glapi_nop.c
+++ b/glx/glapi/glapi_nop.c
@@ -48,8 +48,6 @@
#include <stdio.h>
#include "glapi/glapi.h"
-#define DEBUG
-
#ifdef DEBUG
/**
@@ -77,18 +75,12 @@ NoOpUnused(void)
return Warn(" function");
}
-#if defined(__GNUC__) && (__GNUC__ > 2)
-#define possibly_unused __attribute((unused))
-#else
-#define possibly_unused
-#endif
-
/*
* Defines for the glapitemp.h functions.
*/
#define KEYWORD1 static
#define KEYWORD1_ALT static
-#define KEYWORD2 GLAPIENTRY possibly_unused
+#define KEYWORD2 GLAPIENTRY
#define NAME(func) NoOp##func
#define DISPATCH(func, args, msg) Warn(#func);
#define RETURN_DISPATCH(func, args, msg) Warn(#func); return 0