1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
--- include/net_list.h
+++ include/net_list.h
@@ -29,6 +29,7 @@
#include "net_stuff.h"
#include "stats.h"
#include "game.h"
+#include <cstring>
class Canvas;
--- include/packets.h
+++ include/packets.h
@@ -27,6 +27,7 @@
#include "game.h"
#include "config.h"
#include "track.h"
+#include <cstring>
enum Packet_type {
P_CHAT,
--- skelton/common/http_request.cpp
+++ skelton/common/http_request.cpp
@@ -18,7 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdio.h>
+#include <cstdio>
+#include <cstring>
#include "error.h"
#include "net.h"
#include "http_request.h"
--- skelton/common/res_compress.cpp
+++ skelton/common/res_compress.cpp
@@ -21,6 +21,7 @@
#include "zlib.h"
#undef FAR
#include "res_compress.h"
+#include <cstring>
RCSID("$Id: quadra-1.1.8-gcc43.patch,v 1.1 2008/05/02 22:35:13 nyhm Exp $")
--- skelton/common/reswriter.cpp
+++ skelton/common/reswriter.cpp
@@ -18,7 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdio.h>
+#include <cstdio>
+#include <cstring>
#include "res.h"
#include "resfile.h"
--- skelton/include/net_buf.h
+++ skelton/include/net_buf.h
@@ -23,6 +23,7 @@
#include "types.h"
#include "net.h"
+#include <cstring>
class Net_buf {
public:
--- skelton/svgalib/main.cpp
+++ skelton/svgalib/main.cpp
@@ -27,8 +27,9 @@
#ifndef NDEBUG
#include <mcheck.h>
#endif
-#include <stdlib.h>
-#include <signal.h>
+#include <cstdlib>
+#include <csignal>
+#include <cstring>
#include "debug.h"
#include "types.h"
--- skelton/svgalib/sound.cpp
+++ skelton/svgalib/sound.cpp
@@ -18,7 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdio.h>
+#include <cstdio>
+#include <cstring>
#include <mcheck.h>
#include <linux/soundcard.h>
--- skelton/svgalib/video_x11.cpp
+++ skelton/svgalib/video_x11.cpp
@@ -20,7 +20,8 @@
#ifdef UGS_LINUX_X11
-#include <signal.h>
+#include <csignal>
+#include <cstring>
#include <unistd.h>
#include <sys/shm.h>
#define Font XFont
--- skelton/tools/wadder/wadder.cpp
+++ skelton/tools/wadder/wadder.cpp
@@ -100,7 +100,8 @@
*/
-#include <stdio.h>
+#include <cstdio>
+#include <cstring>
#include "stringtable.h"
#include "res.h"
|