[Scummvm-cvs-logs] SF.net SVN: scummvm: [26044] scummvm/trunk
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat Mar 10 00:46:47 CET 2007
Revision: 26044
http://scummvm.svn.sourceforge.net/scummvm/?rev=26044&view=rev
Author: fingolfin
Date: 2007-03-09 15:46:45 -0800 (Fri, 09 Mar 2007)
Log Message:
-----------
Removing some unnecessary #includes
Modified Paths:
--------------
scummvm/trunk/common/array.h
scummvm/trunk/common/hashmap.cpp
scummvm/trunk/common/list.h
scummvm/trunk/common/md5.cpp
scummvm/trunk/common/scummsys.h
scummvm/trunk/common/stack.h
scummvm/trunk/common/str.cpp
scummvm/trunk/common/str.h
scummvm/trunk/engines/agos/midiparser_s1d.cpp
scummvm/trunk/engines/scumm/saveload.h
scummvm/trunk/gui/console.h
Modified: scummvm/trunk/common/array.h
===================================================================
--- scummvm/trunk/common/array.h 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/common/array.h 2007-03-09 23:46:45 UTC (rev 26044)
@@ -23,7 +23,6 @@
#define COMMON_ARRAY_H
#include "common/scummsys.h"
-#include <assert.h>
namespace Common {
Modified: scummvm/trunk/common/hashmap.cpp
===================================================================
--- scummvm/trunk/common/hashmap.cpp 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/common/hashmap.cpp 2007-03-09 23:46:45 UTC (rev 26044)
@@ -49,7 +49,6 @@
*/
#include "common/hashmap.h"
-#include <ctype.h>
namespace Common {
Modified: scummvm/trunk/common/list.h
===================================================================
--- scummvm/trunk/common/list.h 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/common/list.h 2007-03-09 23:46:45 UTC (rev 26044)
@@ -23,7 +23,6 @@
#define COMMON_LIST_H
#include "common/scummsys.h"
-#include <assert.h>
namespace Common {
Modified: scummvm/trunk/common/md5.cpp
===================================================================
--- scummvm/trunk/common/md5.cpp 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/common/md5.cpp 2007-03-09 23:46:45 UTC (rev 26044)
@@ -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"
Modified: scummvm/trunk/common/scummsys.h
===================================================================
--- scummvm/trunk/common/scummsys.h 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/common/scummsys.h 2007-03-09 23:46:45 UTC (rev 26044)
@@ -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
Modified: scummvm/trunk/common/stack.h
===================================================================
--- scummvm/trunk/common/stack.h 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/common/stack.h 2007-03-09 23:46:45 UTC (rev 26044)
@@ -23,7 +23,6 @@
#define COMMON_STACK_H
#include "common/scummsys.h"
-#include <assert.h>
#include "common/array.h"
namespace Common {
Modified: scummvm/trunk/common/str.cpp
===================================================================
--- scummvm/trunk/common/str.cpp 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/common/str.cpp 2007-03-09 23:46:45 UTC (rev 26044)
@@ -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__))
Modified: scummvm/trunk/common/str.h
===================================================================
--- scummvm/trunk/common/str.h 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/common/str.h 2007-03-09 23:46:45 UTC (rev 26044)
@@ -25,9 +25,6 @@
#include "common/scummsys.h"
#include "common/array.h"
-#include <assert.h>
-#include <string.h>
-
namespace Common {
/**
Modified: scummvm/trunk/engines/agos/midiparser_s1d.cpp
===================================================================
--- scummvm/trunk/engines/agos/midiparser_s1d.cpp 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/engines/agos/midiparser_s1d.cpp 2007-03-09 23:46:45 UTC (rev 26044)
@@ -28,8 +28,6 @@
#include "sound/mididrv.h"
#include "sound/midiparser.h"
-#include <stdio.h>
-
namespace AGOS {
/**
Modified: scummvm/trunk/engines/scumm/saveload.h
===================================================================
--- scummvm/trunk/engines/scumm/saveload.h 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/engines/scumm/saveload.h 2007-03-09 23:46:45 UTC (rev 26044)
@@ -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;
Modified: scummvm/trunk/gui/console.h
===================================================================
--- scummvm/trunk/gui/console.h 2007-03-09 22:31:27 UTC (rev 26043)
+++ scummvm/trunk/gui/console.h 2007-03-09 23:46:45 UTC (rev 26044)
@@ -25,8 +25,6 @@
#include "gui/dialog.h"
#include "gui/newgui.h"
-#include <stdarg.h>
-
namespace GUI {
class ScrollBarWidget;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list