From 38627b2eaf64aa8fe694fc3e1f5e4fee0c9c11c3 Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Mon, 31 Aug 2009 19:36:02 +0300 Subject: xfree86: shut up vgaarb warnings when server doesn't support it Signed-off-by: Tiago Vignatti --- hw/xfree86/common/xf86VGAarbiter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86VGAarbiter.c b/hw/xfree86/common/xf86VGAarbiter.c index 7b4aa345e..f8a288234 100644 --- a/hw/xfree86/common/xf86VGAarbiter.c +++ b/hw/xfree86/common/xf86VGAarbiter.c @@ -31,6 +31,8 @@ #include "xorg-config.h" #include "xf86VGAarbiter.h" + +#ifdef HAVE_PCI_DEVICE_VGAARB_INIT #include "xf86VGAarbiterPriv.h" #include "xf86Bus.h" #include "pciaccess.h" @@ -44,8 +46,6 @@ #define DPRINT(x) #endif -#ifdef HAVE_PCI_DEVICE_VGAARB_INIT - static GCFuncs VGAarbiterGCFuncs = { VGAarbiterValidateGC, VGAarbiterChangeGC, VGAarbiterCopyGC, VGAarbiterDestroyGC, VGAarbiterChangeClip, VGAarbiterDestroyClip, -- cgit v1.2.3