[Mesa-dev] [PATCH 03/13] i965: Mark count_trailing_one_bits() static.

Matt Turner mattst88 at gmail.com
Mon Nov 23 13:55:32 PST 2015


---
 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 ba11d3d..cb3c6f7 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.4.9



More information about the mesa-dev mailing list