summaryrefslogtreecommitdiff
path: root/src/vmwarevideo.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2013-11-28 02:02:20 -0800
committerThomas Hellstrom <thellstrom@vmware.com>2013-12-05 01:01:14 -0800
commit7ac45326eccbf3bea9a4a8f95b9662a36ab58eb0 (patch)
treed0b3ae79b7a2ab72a4bf5b8d61ec5cedb0f6317d /src/vmwarevideo.c
parente26dec8f5278df74a102493bf6d2d8444dab5d6d (diff)
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 <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'src/vmwarevideo.c')
-rw-r--r--src/vmwarevideo.c4
1 files changed, 2 insertions, 2 deletions
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,