gallium: fix warning
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 17 Dec 2007 11:59:02 +0000 (11:59 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 17 Jan 2008 03:06:28 +0000 (12:06 +0900)
src/mesa/pipe/i915simple/i915_debug.h

index 13197f3..0bcd094 100644 (file)
@@ -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,