From 0100d45b7e9cf17e37c0a7688648da8dfb77337c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 18 Sep 2014 10:21:00 -0600 Subject: [PATCH] target-helpers: add inline qualifier on configuration_query() To silence unused function warnings. Reviewed-by: Emil Velikov --- 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 e6c6af58dd6..81649d42582 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) { -- 2.30.2