target-helpers: add inline qualifier on configuration_query()
authorBrian Paul <brianp@vmware.com>
Thu, 18 Sep 2014 16:21:00 +0000 (10:21 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 22 Sep 2014 14:04:34 +0000 (08:04 -0600)
To silence unused function warnings.

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/target-helpers/inline_drm_helper.h

index e6c6af58dd64fca9feb173405bd88accc58eb55e..81649d42582cef35c286a5c26c992369cc9ce7de 100644 (file)
@@ -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) {