aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-03-09 23:46:45 +0000
committerMax Horn2007-03-09 23:46:45 +0000
commit728d01cb1788a24383c0ffabba6428e35ba88148 (patch)
tree27f93cb2663cca4f6d4b59a660bf8acc7929a0cb
parente8e33e8077194e19b3a019958cface772bec656f (diff)
downloadscummvm-rg350-728d01cb1788a24383c0ffabba6428e35ba88148.tar.gz
scummvm-rg350-728d01cb1788a24383c0ffabba6428e35ba88148.tar.bz2
scummvm-rg350-728d01cb1788a24383c0ffabba6428e35ba88148.zip
Removing some unnecessary #includes
svn-id: r26044
-rw-r--r--common/array.h1
-rw-r--r--common/hashmap.cpp1
-rw-r--r--common/list.h1
-rw-r--r--common/md5.cpp2
-rw-r--r--common/scummsys.h8
-rw-r--r--common/stack.h1
-rw-r--r--common/str.cpp2
-rw-r--r--common/str.h3
-rw-r--r--engines/agos/midiparser_s1d.cpp2
-rw-r--r--engines/scumm/saveload.h2
-rw-r--r--gui/console.h2
11 files changed, 1 insertions, 24 deletions
diff --git a/common/array.h b/common/array.h
index 38df8eadbb..95f3c90ebe 100644
--- a/common/array.h
+++ b/common/array.h
@@ -23,7 +23,6 @@
#define COMMON_ARRAY_H
#include "common/scummsys.h"
-#include <assert.h>
namespace Common {
diff --git a/common/hashmap.cpp b/common/hashmap.cpp
index 9e3ca2292a..1bab04a6a1 100644
--- a/common/hashmap.cpp
+++ b/common/hashmap.cpp
@@ -49,7 +49,6 @@
*/
#include "common/hashmap.h"
-#include <ctype.h>
namespace Common {
diff --git a/common/list.h b/common/list.h
index 2d2e7b0abf..da20f22cf1 100644
--- a/common/list.h
+++ b/common/list.h
@@ -23,7 +23,6 @@
#define COMMON_LIST_H
#include "common/scummsys.h"
-#include <assert.h>
namespace Common {
diff --git a/common/md5.cpp b/common/md5.cpp
index 1296fe08b9..700897e08f 100644
--- a/common/md5.cpp
+++ b/common/md5.cpp
@@ -25,8 +25,6 @@
* this program is licensed under the GPL.
*/
-#include <string.h>
-
#include "common/file.h"
#include "common/md5.h"
#include "common/util.h"
diff --git a/common/scummsys.h b/common/scummsys.h
index 3a697f7504..94593bf03b 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -28,9 +28,6 @@
#error Included scummsys.h without including stdafx.h first!
#endif
-#include <stdlib.h>
-#include <stdio.h>
-
// Use config.h, generated by configure
#if defined(HAVE_CONFIG_H)
#include "config.h"
@@ -304,11 +301,6 @@
#define SCUMM_LITTLE_ENDIAN
#include "nds/jtypes.h"
- #include <stdarg.h>
- #include <ctype.h>
- #include <string.h>
- #include <math.h>
- #include <time.h>
#define STRINGBUFLEN 256
diff --git a/common/stack.h b/common/stack.h
index 2cc85388e0..127f8a5cf5 100644
--- a/common/stack.h
+++ b/common/stack.h
@@ -23,7 +23,6 @@
#define COMMON_STACK_H
#include "common/scummsys.h"
-#include <assert.h>
#include "common/array.h"
namespace Common {
diff --git a/common/str.cpp b/common/str.cpp
index be0144954b..31cbb7cd22 100644
--- a/common/str.cpp
+++ b/common/str.cpp
@@ -25,8 +25,6 @@
#include "common/hash-str.h"
#include "common/util.h"
-#include <ctype.h>
-
namespace Common {
#if !(defined(PALMOS_ARM) || defined(PALMOS_DEBUG) || defined(__GP32__))
diff --git a/common/str.h b/common/str.h
index c7c9b466b1..16122b579f 100644
--- a/common/str.h
+++ b/common/str.h
@@ -25,9 +25,6 @@
#include "common/scummsys.h"
#include "common/array.h"
-#include <assert.h>
-#include <string.h>
-
namespace Common {
/**
diff --git a/engines/agos/midiparser_s1d.cpp b/engines/agos/midiparser_s1d.cpp
index 949224202b..43928d5e47 100644
--- a/engines/agos/midiparser_s1d.cpp
+++ b/engines/agos/midiparser_s1d.cpp
@@ -28,8 +28,6 @@
#include "sound/mididrv.h"
#include "sound/midiparser.h"
-#include <stdio.h>
-
namespace AGOS {
/**
diff --git a/engines/scumm/saveload.h b/engines/scumm/saveload.h
index 36bc3cb4b3..e98704bc2b 100644
--- a/engines/scumm/saveload.h
+++ b/engines/scumm/saveload.h
@@ -24,7 +24,7 @@
#define SCUMM_SAVELOAD_H
#include "common/scummsys.h"
-#include <stddef.h>
+#include <stddef.h> // for ptrdiff_t
namespace Common {
class InSaveFile;
diff --git a/gui/console.h b/gui/console.h
index 70f3d7c6f1..587be82f04 100644
--- a/gui/console.h
+++ b/gui/console.h
@@ -25,8 +25,6 @@
#include "gui/dialog.h"
#include "gui/newgui.h"
-#include <stdarg.h>
-
namespace GUI {
class ScrollBarWidget;