summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/target-helpers
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2014-09-18 10:21:00 -0600
committerBrian Paul <brianp@vmware.com>2014-09-22 08:04:34 -0600
commit0100d45b7e9cf17e37c0a7688648da8dfb77337c (patch)
tree77de19ce4898ee9ba86bf8e79722b6472e033a47 /src/gallium/auxiliary/target-helpers
parenta68f421d7370fa4b82bd2d6f94aba9cbfde39b33 (diff)
downloadexternal_mesa3d-0100d45b7e9cf17e37c0a7688648da8dfb77337c.zip
external_mesa3d-0100d45b7e9cf17e37c0a7688648da8dfb77337c.tar.gz
external_mesa3d-0100d45b7e9cf17e37c0a7688648da8dfb77337c.tar.bz2
target-helpers: add inline qualifier on configuration_query()
To silence unused function warnings. Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/auxiliary/target-helpers')
-rw-r--r--src/gallium/auxiliary/target-helpers/inline_drm_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
index e6c6af5..81649d4 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) {