diff options
author | Deepak Singh Rawat <drawat@vmware.com> | 2017-08-07 15:57:56 -0700 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2017-08-07 15:57:56 -0700 |
commit | d8c2f8501307a9c0c65601e897e7d919e42ba0b3 (patch) | |
tree | 2e011477c8845b049461536e7471c53344d84357 /src/vmwaremodes.c | |
parent | ed0fd2f2823917a5dfefa3d3af774d4cdb40f958 (diff) |
vmware: Fix build warnings
Due to following commit in xserver there were
build warnings, as variables now declared const.
d89b42bda46d36fc0879611cc3b3566957ce36d0
e1e01d2e33c632e395d7e396f73fba8ae606b15a
Added a compat header file.
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>:q
Diffstat (limited to 'src/vmwaremodes.c')
-rw-r--r-- | src/vmwaremodes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vmwaremodes.c b/src/vmwaremodes.c index 41a9b4f..1d296ac 100644 --- a/src/vmwaremodes.c +++ b/src/vmwaremodes.c @@ -40,6 +40,7 @@ #endif #include "vm_basic_types.h" #include "vmware.h" +#include "common_compat.h" #ifndef M_T_DRIVER # define M_T_DRIVER 0x40 /* Supplied by the driver (EDID, etc) */ @@ -83,7 +84,7 @@ vmwareAddDefaultMode(ScrnInfoPtr pScrn, uint32 dwidth, uint32 dheight) DisplayModeRec dynamic = { MODEPREFIX, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, MODESUFFIX }; unsigned dispModeCount = 0; - char **dispModeList; + CONST_ABI_18_0 char **dispModeList; char *dynModeName; char name[80]; VMWAREPtr pVMWARE = VMWAREPTR(pScrn); |