summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-12-16 10:31:22 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-12-16 10:34:20 +0000
commit123754de41380b94922768d021987b1dea3b39c4 (patch)
tree5430d6168d58aafd0be36b1f3c2a24d0586fd365 /src/sna/sna.h
parent99537089346ed7a1bc6b02349fad93845e865bb9 (diff)
sna: Make error debug tracing available at normal debug levels
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index db1fdc14..3e16f7e5 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -78,15 +78,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xassert.h"
#include "compiler.h"
-
-#if HAS_DEBUG_FULL
-void LogF(const char *f, ...);
-#define DBG(x) LogF x
-#define ERR(x) ErrorF x
-#else
-#define DBG(x)
-#define ERR(x)
-#endif
+#include "debug.h"
#define DEBUG_NO_BLT 0