diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-04-17 23:04:45 -0400 |
---|---|---|
committer | Vinay Bondhugula <vinayb@vmware.com> | 2008-04-17 23:04:45 -0400 |
commit | b6c59761e2b984be32493f35224db523dd62bcd8 (patch) | |
tree | 9ecea8a4a55e6215ac6f8529a81b6b0861e868d7 /src/vmware.c | |
parent | 7870dc715b1efe173af1e2664778e2066508e066 (diff) |
Compile warning fixes
Major problem was prototype vmwareInitVideo not matching implementation
vmwareVideoInit. Remaining are adding an "ansification" of a function without
arguments, and removing/disabling unused variables/functions.
Diffstat (limited to 'src/vmware.c')
-rw-r--r-- | src/vmware.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/vmware.c b/src/vmware.c index ebb480b..e4d149d 100644 --- a/src/vmware.c +++ b/src/vmware.c @@ -386,7 +386,7 @@ VMXGetVMwareSvgaId(VMWAREPtr pVMWARE) return SVGA_ID_INVALID; } - +#ifndef XSERVER_LIBPCIACCESS /* *---------------------------------------------------------------------- * @@ -432,6 +432,7 @@ RewriteTagString(const char *istr, char *ostr, int osize) *op++ = chr; } while (chr); } +#endif static void VMWAREIdentify(int flags) @@ -1766,8 +1767,6 @@ static void VMWARELeaveVT(int scrnIndex, int flags) { ScrnInfoPtr pScrn = xf86Screens[scrnIndex]; - VMWAREPtr pVMWARE = VMWAREPTR(pScrn); - VMWARERestore(pScrn); } @@ -1796,8 +1795,6 @@ VMwarePciProbe (DriverPtr drv, { ScrnInfoPtr scrn = NULL; EntityInfoPtr entity; - /*I830EntPtr i830_ent = NULL;*/ - DevUnion *private; scrn = xf86ConfigPciEntity(scrn, 0, entity_num, VMWAREPciChipsets, NULL, NULL, NULL, NULL, NULL); |