[PATCH] vmware: Fix up some warnings after new compat API change.

Robert Hooker sarvatt at ubuntu.com
Fri Jun 15 08:56:59 PDT 2012

Fixes multiple instances of these warnings on x86_64:
../../src/vmware.h:180:5: warning: implicit declaration of function 'xf86ScreenToScrn' [-Wimplicit-function-declaration]
../../src/vmware.h:180:5: warning: nested extern declaration of 'xf86ScreenToScrn' [-Wnested-externs]
../../src/vmware.h:180:5: warning: return makes pointer from integer without a cast [enabled by default]
Function `xf86ScreenToScrn' implicitly converted to pointer at ../../src/vmware.h:180

Signed-off-by: Robert Hooker <sarvatt at ubuntu.com>
 src/vmware.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vmware.h b/src/vmware.h
index 4818e16..be113bb 100644
--- a/src/vmware.h
+++ b/src/vmware.h
@@ -18,6 +18,7 @@
 #include "xf86.h"
 #include "xf86_OSproc.h"
+#include "compat-api.h"
 #include <X11/extensions/panoramiXproto.h>

More information about the xorg-devel mailing list