diff --git a/src/gallium/auxiliary/util/u_debug_refcnt.h b/src/gallium/auxiliary/util/u_debug_refcnt.h index f054dce..8f42319 100644 --- a/src/gallium/auxiliary/util/u_debug_refcnt.h +++ b/src/gallium/auxiliary/util/u_debug_refcnt.h @@ -30,13 +30,17 @@ #include "pipe/p_config.h" #include "pipe/p_state.h" +#include "util/u_debug.h" + #ifdef __cplusplus extern "C" { #endif typedef void (*debug_reference_descriptor)(char*, const struct pipe_reference*); -static inline void debug_reference(const struct pipe_reference* p, debug_reference_descriptor get_desc, int change) +static inline void +debug_reference(UNUSED const struct pipe_reference* p, + UNUSED debug_reference_descriptor get_desc, UNUSED int change) { }