From: Vinson Lee Date: Sun, 31 Jan 2010 06:24:34 +0000 (-0800) Subject: glut: Remove unnecessary headers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc783f3d3854f8ab117457d607dba00836171ba9;p=mesa.git glut: Remove unnecessary headers. --- diff --git a/src/glut/glx/glut_fullscrn.c b/src/glut/glx/glut_fullscrn.c index aab3b487638..78a7a6148b6 100644 --- a/src/glut/glx/glut_fullscrn.c +++ b/src/glut/glx/glut_fullscrn.c @@ -14,7 +14,6 @@ #if !defined(_WIN32) #include -#include #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 3ffeafee57f..4a92099f3fe 100644 --- a/src/glut/glx/glut_gamemode.c +++ b/src/glut/glx/glut_gamemode.c @@ -18,7 +18,6 @@ #ifndef _WIN32 #include -#include /* 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 78843e93bc2..842aefc93c7 100644 --- a/src/glut/glx/glut_init.c +++ b/src/glut/glx/glut_init.c @@ -15,7 +15,6 @@ #if !defined(_WIN32) #include -#include #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 969b8120b44..3a66101bc42 100644 --- a/src/glut/glx/glut_menu2.c +++ b/src/glut/glx/glut_menu2.c @@ -25,7 +25,6 @@ #include #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 837bbc3cb2a..db1abe005d8 100644 --- a/src/glut/glx/glut_overlay.c +++ b/src/glut/glx/glut_overlay.c @@ -17,7 +17,6 @@ #if !defined(_WIN32) #include #include -#include /* for XA_RGB_DEFAULT_MAP atom */ #if defined (__vms) #include /* for XmuLookupStandardColormap */ #else diff --git a/src/glut/glx/layerutil.c b/src/glut/glx/layerutil.c index 26ba0b6029d..36d43e59f0a 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 #if defined(_SGI_EXTRA_PREDEFINES) && !defined(NO_FAST_ATOMS) #include #else