diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-11 19:35:59 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-11 19:39:01 +0100 |
commit | 6ea8ce640fbc7e5054b521a6f70b303945d0e849 (patch) | |
tree | e5887c773ad96dc8636744847621873df5409f43 /src/xvmc | |
parent | e1b7e8bf1d475b3d00adcb96e6002c20c9e70d1c (diff) |
xvmc: Build fix with -pedantic
Fixes:
Bug 27352 - RPMLINT error causes build breakage
https://bugs.freedesktop.org/show_bug.cgi?id=27352
Reported-by: Johannes Obermayr <johannesobermayr@gmx.de>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/xvmc')
-rw-r--r-- | src/xvmc/i965_xvmc.c | 2 | ||||
-rw-r--r-- | src/xvmc/xvmc_vld.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xvmc/i965_xvmc.c b/src/xvmc/i965_xvmc.c index 1665f6d0..52b93e32 100644 --- a/src/xvmc/i965_xvmc.c +++ b/src/xvmc/i965_xvmc.c @@ -207,7 +207,7 @@ struct media_state { }; struct media_state media_state; -static int free_object(struct media_state *s) +static void free_object(struct media_state *s) { int i; #define FREE_ONE_BO(bo) drm_intel_bo_unreference(bo) diff --git a/src/xvmc/xvmc_vld.c b/src/xvmc/xvmc_vld.c index 5687593a..9ef840b3 100644 --- a/src/xvmc/xvmc_vld.c +++ b/src/xvmc/xvmc_vld.c @@ -354,7 +354,7 @@ static struct media_state { /* XvMCQMatrix * 2 + idct_table + 8 * kernel offset pointer */ #define CS_OBJECT_SIZE (32*20 + sizeof(unsigned int) * 8) -static int free_object(struct media_state *s) +static void free_object(struct media_state *s) { int i; #define FREE_ONE_BO(bo) \ |