Mesa (master): glut: Remove unnecessary headers.

Vinson Lee vlee at kemper.freedesktop.org
Sun Jan 31 06:25:07 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Jan 30 22:24:34 2010 -0800

glut: Remove unnecessary headers.

---

 src/glut/glx/glut_fullscrn.c |    1 -
 src/glut/glx/glut_gamemode.c |    1 -
 src/glut/glx/glut_init.c     |    1 -
 src/glut/glx/glut_menu2.c    |    1 -
 src/glut/glx/glut_overlay.c  |    1 -
 src/glut/glx/layerutil.c     |    1 -
 6 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/glut/glx/glut_fullscrn.c b/src/glut/glx/glut_fullscrn.c
index aab3b48..78a7a61 100644
--- a/src/glut/glx/glut_fullscrn.c
+++ b/src/glut/glx/glut_fullscrn.c
@@ -14,7 +14,6 @@
 
 #if !defined(_WIN32)
 #include <X11/Xlib.h>
-#include <X11/Xatom.h>
 #endif
 
 /* SGI optimization introduced in IRIX 6.3 to avoid X server
diff --git a/src/glut/glx/glut_gamemode.c b/src/glut/glx/glut_gamemode.c
index 3ffeafe..4a92099 100644
--- a/src/glut/glx/glut_gamemode.c
+++ b/src/glut/glx/glut_gamemode.c
@@ -18,7 +18,6 @@
 
 #ifndef _WIN32
 #include <X11/Xlib.h>
-#include <X11/Xatom.h>
 
 /* SGI optimization introduced in IRIX 6.3 to avoid X server
    round trips for interning common X atoms. */
diff --git a/src/glut/glx/glut_init.c b/src/glut/glx/glut_init.c
index 78843e9..842aefc 100644
--- a/src/glut/glx/glut_init.c
+++ b/src/glut/glx/glut_init.c
@@ -15,7 +15,6 @@
 
 #if !defined(_WIN32)
 #include <X11/Xlib.h>
-#include <X11/Xatom.h>
 #endif
 
 /* SGI optimization introduced in IRIX 6.3 to avoid X server
diff --git a/src/glut/glx/glut_menu2.c b/src/glut/glx/glut_menu2.c
index 969b812..3a66101 100644
--- a/src/glut/glx/glut_menu2.c
+++ b/src/glut/glx/glut_menu2.c
@@ -25,7 +25,6 @@
 #include <X11/Xlib.h>
 
 #include "glutint.h"
-#include "layerutil.h"
 
 /* CENTRY */
 /* DEPRICATED, use glutMenuStatusFunc instead. */
diff --git a/src/glut/glx/glut_overlay.c b/src/glut/glx/glut_overlay.c
index 837bbc3..db1abe0 100644
--- a/src/glut/glx/glut_overlay.c
+++ b/src/glut/glx/glut_overlay.c
@@ -17,7 +17,6 @@
 #if !defined(_WIN32)
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
-#include <X11/Xatom.h>  /* for XA_RGB_DEFAULT_MAP atom */
 #if defined (__vms)
 #include <Xmu/StdCmap.h>  /* for XmuLookupStandardColormap */
 #else
diff --git a/src/glut/glx/layerutil.c b/src/glut/glx/layerutil.c
index 26ba0b6..36d43e5 100644
--- a/src/glut/glx/layerutil.c
+++ b/src/glut/glx/layerutil.c
@@ -13,7 +13,6 @@
 
 /* SGI optimization introduced in IRIX 6.3 to avoid X server
    round trips for interning common X atoms. */
-#include <X11/Xatom.h>
 #if defined(_SGI_EXTRA_PREDEFINES) && !defined(NO_FAST_ATOMS)
 #include <X11/SGIFastAtom.h>
 #else




More information about the mesa-commit mailing list