[Mesa-dev] [PATCH 1/2] target-helpers: add inline qualifier on configuration_query()

Brian Paul brianp at vmware.com
Thu Sep 18 09:22:47 PDT 2014


To silence unused function warnings.
---
 src/gallium/auxiliary/target-helpers/inline_drm_helper.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
index dd55a71..9ca7a4a 100644
--- a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
+++ b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
@@ -408,7 +408,7 @@ static const struct drm_conf_ret share_fd_ret = {
    {true},
 };
 
-static const struct drm_conf_ret *
+static inline const struct drm_conf_ret *
 configuration_query(enum drm_conf conf)
 {
    switch (conf) {
-- 
1.7.10.4



More information about the mesa-dev mailing list