From: Brian Paul Date: Thu, 18 Sep 2014 16:21:00 +0000 (-0600) Subject: target-helpers: add inline qualifier on configuration_query() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0100d45b7e9cf17e37c0a7688648da8dfb77337c;p=mesa.git target-helpers: add inline qualifier on configuration_query() To silence unused function warnings. Reviewed-by: Emil Velikov --- 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) {