From 59e731ef66095723e74a16b2e5548aed627089ff Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 4 Sep 2009 11:06:37 +1000 Subject: [PATCH] xfree86: silence some xf86dgaproto compiler warnings We already require xf86dgaproto > 2.0.99 since 6fffcd582 Signed-off-by: Peter Hutterer --- hw/xfree86/common/xf86DGA.c | 2 +- hw/xfree86/common/xf86cmap.c | 3 +-- hw/xfree86/vgahw/vgaCmap.c | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hw/xfree86/common/xf86DGA.c b/hw/xfree86/common/xf86DGA.c index 4509541a4..8328f5875 100644 --- a/hw/xfree86/common/xf86DGA.c +++ b/hw/xfree86/common/xf86DGA.c @@ -35,7 +35,7 @@ #include "xf86str.h" #include "xf86Priv.h" #include "dgaproc.h" -#include +#include #include "colormapst.h" #include "pixmapstr.h" #include "inputstr.h" diff --git a/hw/xfree86/common/xf86cmap.c b/hw/xfree86/common/xf86cmap.c index 7990c74e2..36e6f96de 100644 --- a/hw/xfree86/common/xf86cmap.c +++ b/hw/xfree86/common/xf86cmap.c @@ -52,8 +52,7 @@ #include "xf86Crtc.h" #ifdef XFreeXDGA -#define _XF86DGA_SERVER_ -#include +#include #include "dgaproc.h" #endif diff --git a/hw/xfree86/vgahw/vgaCmap.c b/hw/xfree86/vgahw/vgaCmap.c index 095e480a3..5bd38b468 100644 --- a/hw/xfree86/vgahw/vgaCmap.c +++ b/hw/xfree86/vgahw/vgaCmap.c @@ -36,8 +36,7 @@ #include "xf86.h" #include "vgaHW.h" -#define _XF86DGA_SERVER_ -#include +#include #include "dgaproc.h"