Mesa (master): target-helpers: add inline qualifier on configuration_query ()

Brian Paul brianp at kemper.freedesktop.org
Mon Sep 22 15:40:33 UTC 2014


Module: Mesa
Branch: master
Commit: 0100d45b7e9cf17e37c0a7688648da8dfb77337c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0100d45b7e9cf17e37c0a7688648da8dfb77337c

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Sep 18 10:21:00 2014 -0600

target-helpers: add inline qualifier on configuration_query()

To silence unused function warnings.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

---

 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 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) {




More information about the mesa-commit mailing list