From: Matt Turner Date: Sun, 22 Nov 2015 23:06:43 +0000 (-0800) Subject: i965: Mark count_trailing_one_bits() static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e768c498bf3ae4e41e43ae2b28feec0ef7543239;p=mesa.git i965: Mark count_trailing_one_bits() static. Reviewed-by: Ian Romanick --- 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);