Skip to content

Commit 3d14972

Browse files
authored
refactor: Simplify string.h includes (#1743)
1 parent 090d76b commit 3d14972

File tree

107 files changed

+3
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+3
-116
lines changed

Core/GameEngine/Include/Common/AsciiString.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
#pragma once
4747

4848
#include <stdarg.h>
49-
#include <string.h>
5049
#include "Lib/BaseType.h"
5150
#include "Common/Debug.h"
5251
#include "Common/Errors.h"

Core/GameEngine/Include/Common/UnicodeString.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
#pragma once
4747

4848
#include <stdarg.h>
49-
#include <string.h>
5049
#include "Lib/BaseType.h"
5150
#include "Common/Debug.h"
5251
#include "Common/Errors.h"

Core/GameEngine/Source/Common/System/File.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
#include "PreRTS.h"
4949

5050
#include <assert.h>
51-
#include <string.h>
5251
#include <stdarg.h>
5352

5453

Core/GameEngine/Source/Common/System/LocalFile.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949

5050
#include <fcntl.h>
5151
#include <io.h>
52-
#include <string.h>
5352
#include <sys/stat.h>
5453
#include <stdlib.h>
5554
#include <ctype.h>

Core/GameEngine/Source/Common/System/RAMFile.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949

5050
#include <fcntl.h>
5151
#include <io.h>
52-
#include <string.h>
5352
#include <sys/stat.h>
5453

5554
#include "Common/AsciiString.h"

Core/GameEngine/Source/Common/System/StreamingArchiveFile.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949

5050
#include <fcntl.h>
5151
#include <io.h>
52-
#include <string.h>
5352
#include <sys/stat.h>
5453

5554
#include "Common/AsciiString.h"

Core/Libraries/Source/WWVegas/WW3D2/agg_def.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include "w3derr.h"
4141
#include "Vector.H"
4242
#include "bittype.h"
43-
#include <string.h>
4443

4544
#ifdef _UNIX
4645
#include "osdep.h"

Core/Libraries/Source/WWVegas/WW3D2/animatedsoundmgr.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
// MBL Update for CNC3 INCURSION - 10.23.2002 - Expanded param handling, Added STOP command
3838
//
3939

40-
#include <string.h> // stricmp()
4140
#include "animatedsoundmgr.h"
4241
#include "INI.H"
4342
#include "inisup.h"

Core/Libraries/Source/WWVegas/WW3D2/bwrender.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040
#include "bwrender.h"
4141
#include "vp.h"
42-
#include <string.h>
4342

4443

4544
BWRenderClass::Buffer::Buffer(unsigned char* buffer_, int scale_)

Core/Libraries/Source/WWVegas/WW3D2/composite.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
#include "composite.h"
5959
#include "wwdebug.h"
6060
#include <stdlib.h>
61-
#include <string.h>
6261

6362

6463
/***********************************************************************************************

0 commit comments

Comments
 (0)