uterm: fix compilation of builds where fbdev is the only output
authorJames Buren <ryuo@frugalware.org>
Thu, 6 Dec 2012 20:31:17 +0000 (14:31 -0600)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 9 Dec 2012 11:26:33 +0000 (12:26 +0100)
Declare helpers as "static inline" as they might get included but not
used.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_video.h

index 004b6c8..cc30271 100644 (file)
@@ -493,7 +493,7 @@ static inline void video_drm_free_name(char *name)
 {
 }
 
-bool video_drm_available(void)
+static inline bool video_drm_available(void)
 {
        return false;
 }