diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-15 21:57:05 +0900 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-01-12 10:14:49 -0800 |
commit | d89b42bda46d36fc0879611cc3b3566957ce36d0 (patch) | |
tree | fdbf1dc37a86b98e63ca5235506e5ff1f90e6b28 /Xext/xvmcext.h | |
parent | d6da9f23cca562fc0c6ae398665ab7fa770a4fa8 (diff) |
Clean up warnings in DIX
As usual, mostly const char changes. However, filter_device_events had
a potentially uninitialized value, 'raw', which I added a bunch of
checks for. I suspect most of those are 'can't happen', but it's hard
to see that inside the function.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xext/xvmcext.h')
-rw-r--r-- | Xext/xvmcext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/xvmcext.h b/Xext/xvmcext.h index 2201d7b5b..832e4438c 100644 --- a/Xext/xvmcext.h +++ b/Xext/xvmcext.h @@ -91,8 +91,8 @@ extern _X_EXPORT int XvMCScreenInit(ScreenPtr pScreen, extern _X_EXPORT XvImagePtr XvMCFindXvImage(XvPortPtr pPort, CARD32 id); -extern _X_EXPORT int xf86XvMCRegisterDRInfo(ScreenPtr pScreen, char *name, - char *busID, int major, int minor, +extern _X_EXPORT int xf86XvMCRegisterDRInfo(ScreenPtr pScreen, const char *name, + const char *busID, int major, int minor, int patchLevel); #endif /* _XVMC_H */ |