diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-18 10:34:11 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-18 10:34:36 +0100 |
commit | 5ddd106e8f9b6a8176a7a5a82928067feaec0e03 (patch) | |
tree | 5725e14a285feae0b46f6475051ccdcb812ee6b5 /src/uxa | |
parent | 2a4855a633f42d90e11f5c51342c514c2dc24307 (diff) |
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@chris-wilson.co.uk>
Diffstat (limited to 'src/uxa')
-rw-r--r-- | src/uxa/intel_glamor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uxa/intel_glamor.h b/src/uxa/intel_glamor.h index 94a06171..a2ca4480 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 |