From 543ab7bf994bcead036d0929701f682d2e5c2714 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sun, 30 Jul 2017 15:26:07 +1000 Subject: [PATCH] Remove a few glib includes in headers --- contrib/hydratoolz/plugin.h | 1 - libs/gtkutil/cursor.h | 1 - libs/gtkutil/widget.h | 1 - radiant/feedback.h | 1 - radiant/preferences.h | 1 - tools/quake3/common/vfs.c | 1 + tools/quake3/common/vfs.h | 1 - tools/quake3/q3map2/lightmaps_ydnar.c | 2 +- tools/quake3/q3map2/main.c | 2 +- 9 files changed, 3 insertions(+), 8 deletions(-) diff --git a/contrib/hydratoolz/plugin.h b/contrib/hydratoolz/plugin.h index 40d8a4f5..055cf991 100644 --- a/contrib/hydratoolz/plugin.h +++ b/contrib/hydratoolz/plugin.h @@ -40,7 +40,6 @@ #include "iplugin.h" -#include #include "synapse.h" class CSynapseClientHydraToolz : public CSynapseClient diff --git a/libs/gtkutil/cursor.h b/libs/gtkutil/cursor.h index 2af212f4..6f2c6cc7 100644 --- a/libs/gtkutil/cursor.h +++ b/libs/gtkutil/cursor.h @@ -22,7 +22,6 @@ #if !defined( INCLUDED_GTKUTIL_CURSOR_H ) #define INCLUDED_GTKUTIL_CURSOR_H -#include #include #include "debugging/debugging.h" diff --git a/libs/gtkutil/widget.h b/libs/gtkutil/widget.h index 52a90ef5..a81054d4 100644 --- a/libs/gtkutil/widget.h +++ b/libs/gtkutil/widget.h @@ -24,7 +24,6 @@ #include #include -#include #include #include "generic/callback.h" #include "warnings.h" diff --git a/radiant/feedback.h b/radiant/feedback.h index db7f0da4..a9271755 100644 --- a/radiant/feedback.h +++ b/radiant/feedback.h @@ -30,7 +30,6 @@ #include "math/vector.h" #include "stream/stringstream.h" -#include #include "xmlstuff.h" #include "dialog.h" #include "xywindow.h" diff --git a/radiant/preferences.h b/radiant/preferences.h index 0102784f..8ece483f 100644 --- a/radiant/preferences.h +++ b/radiant/preferences.h @@ -33,7 +33,6 @@ #include "dialog.h" #include #include -#include void Widget_connectToggleDependency( ui::Widget self, ui::Widget toggleButton ); diff --git a/tools/quake3/common/vfs.c b/tools/quake3/common/vfs.c index e0cd888f..cf5d0d79 100644 --- a/tools/quake3/common/vfs.c +++ b/tools/quake3/common/vfs.c @@ -51,6 +51,7 @@ #include "inout.h" #include "vfs.h" #include +#include typedef struct { diff --git a/tools/quake3/common/vfs.h b/tools/quake3/common/vfs.h index 51ac6ddd..7c4a4464 100644 --- a/tools/quake3/common/vfs.h +++ b/tools/quake3/common/vfs.h @@ -43,7 +43,6 @@ #define S_ISDIR( mode ) ( mode & _S_IFDIR ) #define PATH_MAX 260 #endif -#include #define VFS_MAXDIRS 64 diff --git a/tools/quake3/q3map2/lightmaps_ydnar.c b/tools/quake3/q3map2/lightmaps_ydnar.c index 83f0776d..c437bcaf 100644 --- a/tools/quake3/q3map2/lightmaps_ydnar.c +++ b/tools/quake3/q3map2/lightmaps_ydnar.c @@ -35,7 +35,7 @@ /* dependencies */ #include "q3map2.h" - +#include diff --git a/tools/quake3/q3map2/main.c b/tools/quake3/q3map2/main.c index 2710128b..85f2f491 100644 --- a/tools/quake3/q3map2/main.c +++ b/tools/quake3/q3map2/main.c @@ -35,7 +35,7 @@ /* dependencies */ #include "q3map2.h" - +#include /* -- 2.39.2