summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-12-17 11:59:02 +0000
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-01-17 12:06:28 +0900
commit7771519862ade53bbd29dd25987c51e3c444e364 (patch)
treedf977ad875434bd8d6cc56f36d78145ae270a636 /src/mesa
parent66719dc63a169d5bec5e56fa5ad46853121a8dc0 (diff)
gallium: fix warning
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/i915simple/i915_debug.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_debug.h b/src/mesa/pipe/i915simple/i915_debug.h
index 13197f3595..0bcd094233 100644
--- a/src/mesa/pipe/i915simple/i915_debug.h
+++ b/src/mesa/pipe/i915simple/i915_debug.h
@@ -69,11 +69,13 @@ void i915_print_ureg(const char *msg, unsigned ureg);
#define DEBUG_SURFACE 0x2000
#define DEBUG_WINSYS 0x4000
+#include "pipe/p_compiler.h"
+
#if defined(DEBUG) && defined(FILE_DEBUG_FLAG)
#include "pipe/p_winsys.h"
-static void
+static INLINE void
I915_DBG(
struct i915_context *i915,
const char *fmt,
@@ -92,7 +94,7 @@ I915_DBG(
#else
-static void
+static INLINE void
I915_DBG(
struct i915_context *i915,
const char *fmt,