xf86-video-intel: src/uxa/intel_glamor.h

Chris Wilson ickle at kemper.freedesktop.org
Thu Sep 18 02:36:10 PDT 2014


 src/uxa/intel_glamor.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5ddd106e8f9b6a8176a7a5a82928067feaec0e03
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Sep 18 10:34:11 2014 +0100

    uxa/glamor: Silence compiler warnings
    
    Mark the stub intel_glamor_fd_from_pixmap() as inline to silence the
    compiler warnings about unused function definitions.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/uxa/intel_glamor.h b/src/uxa/intel_glamor.h
index 94a0617..a2ca448 100644
--- a/src/uxa/intel_glamor.h
+++ b/src/uxa/intel_glamor.h
@@ -88,7 +88,7 @@ static inline PixmapPtr intel_glamor_pixmap_from_fd(ScreenPtr screen,
                                                     CARD8 depth,
                                                     CARD8 bpp) { return NULL; }
 
-static int
+static inline int
 intel_glamor_fd_from_pixmap(ScreenPtr screen,
                             PixmapPtr pixmap, CARD16 *stride, CARD32 *size) { return -1; }
 #endif


More information about the xorg-commit mailing list