summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-11-22 15:06:43 -0800
committerMatt Turner <[email protected]>2015-11-24 10:05:32 -0800
commite768c498bf3ae4e41e43ae2b28feec0ef7543239 (patch)
treed9f47fbd4e06de54238db66b6a294a142048e4fe /src/mesa
parent836aaa43943f5f7e112f6ea4750ffa8e0e530afd (diff)
i965: Mark count_trailing_one_bits() static.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp_blit.cpp2
1 files changed, 1 insertions, 1 deletions
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);