From 7ac45326eccbf3bea9a4a8f95b9662a36ab58eb0 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Thu, 28 Nov 2013 02:02:20 -0800 Subject: vmwgfx: Fix some compilation warnings and indentations Most of the compilation warnings we're seeing are due to bad xorg headers, but fix the ones we can fix in the driver. Some indentation fixes as well. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- src/vmwarevideo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vmwarevideo.c') diff --git a/src/vmwarevideo.c b/src/vmwarevideo.c index 745c71f..8d7d171 100644 --- a/src/vmwarevideo.c +++ b/src/vmwarevideo.c @@ -82,7 +82,7 @@ #define VMWARE_VID_MAX_HEIGHT 2048 #define VMWARE_VID_NUM_ENCODINGS 1 -static XF86VideoEncodingRec vmwareVideoEncodings[] = +static const XF86VideoEncodingRec vmwareVideoEncodings[] = { { 0, @@ -108,7 +108,7 @@ static XF86ImageRec vmwareVideoImages[] = }; #define VMWARE_VID_NUM_ATTRIBUTES 2 -static XF86AttributeRec vmwareVideoAttributes[] = +static const XF86AttributeRec vmwareVideoAttributes[] = { { XvGettable | XvSettable, -- cgit v1.2.3