From e768c498bf3ae4e41e43ae2b28feec0ef7543239 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 22 Nov 2015 15:06:43 -0800 Subject: [PATCH] i965: Mark count_trailing_one_bits() static. Reviewed-by: Ian Romanick --- src/mesa/drivers/dri/i965/brw_blorp_blit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp index ba11d3dd07f..cb3c6f77808 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp @@ -1344,7 +1344,7 @@ brw_blorp_blit_program::single_to_blend() * count_trailing_one_bits(7) == 3 * count_trailing_one_bits(11) == 2 */ -inline int count_trailing_one_bits(unsigned value) +static inline int count_trailing_one_bits(unsigned value) { #ifdef HAVE___BUILTIN_CTZ return __builtin_ctz(~value); -- 2.30.2