Mesa (master): st/xorg: remove unnecessary headers

Emil Velikov evelikov at kemper.freedesktop.org
Tue Oct 29 21:51:30 UTC 2013


Module: Mesa
Branch: master
Commit: 5c398e243c9b9f187bbfeb7933b673b034517dc0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c398e243c9b9f187bbfeb7933b673b034517dc0

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Sep 28 03:03:39 2013 +0100

st/xorg: remove unnecessary headers

v2: Remove xf86PciInfo.h, all drivers provide their own PCI ID list

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/gallium/state_trackers/xorg/xorg_driver.c |    1 -
 src/gallium/state_trackers/xorg/xorg_output.c |    7 -------
 2 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c
index 9d7713c..dd243bc 100644
--- a/src/gallium/state_trackers/xorg/xorg_driver.c
+++ b/src/gallium/state_trackers/xorg/xorg_driver.c
@@ -33,7 +33,6 @@
 #include "xf86.h"
 #include "xf86_OSproc.h"
 #include "compiler.h"
-#include "xf86PciInfo.h"
 #include "xf86Pci.h"
 #include "mipointer.h"
 #include "micmap.h"
diff --git a/src/gallium/state_trackers/xorg/xorg_output.c b/src/gallium/state_trackers/xorg/xorg_output.c
index b183cdf..dffc28e 100644
--- a/src/gallium/state_trackers/xorg/xorg_output.c
+++ b/src/gallium/state_trackers/xorg/xorg_output.c
@@ -43,13 +43,6 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
-#ifdef HAVE_XEXTPROTO_71
-#include <X11/extensions/dpmsconst.h>
-#else
-#define DPMS_SERVER
-#include <X11/extensions/dpms.h>
-#endif
-
 #include "xorg_tracker.h"
 
 struct output_private




More information about the mesa-commit mailing list