[Mesa-dev] [PATCH 1/2] i965: Make inline function static

Iago Toral Quiroga itoral at igalia.com
Tue Jul 5 09:21:21 UTC 2016


Without this the i965 driver fails to load.
---
 src/mesa/drivers/dri/i965/brw_blorp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h
index 751e082..cf1ba63 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp.h
+++ b/src/mesa/drivers/dri/i965/brw_blorp.h
@@ -240,7 +240,7 @@ struct brw_blorp_prog_data
    uint8_t param[BRW_BLORP_NUM_PUSH_CONSTANT_DWORDS];
 };
 
-inline unsigned
+static inline unsigned
 brw_blorp_get_urb_length(const struct brw_blorp_prog_data *prog_data)
 {
    if (prog_data == NULL)
-- 
2.7.4



More information about the mesa-dev mailing list