Permalink
Browse files

Use non-deprecated standard headers.

  • Loading branch information...
1 parent de74118 commit c0031eb4f30a060f7dcfce3a9e9d60846dab9bd7 @bwy bwy committed with Jun 24, 2009
View
@@ -2,7 +2,7 @@
#define GEOM_H
#include <libxml/tree.h>
-#include <math.h>
+#include <cmath>
using namespace std;
View
@@ -1,6 +1,6 @@
#include <SWFAction.h>
#include "SWF.h"
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -1,8 +1,8 @@
#include "SWFFile.h"
#include "SWFReader.h"
#include "SWFWriter.h"
-#include <string.h>
-#include <stdlib.h>
+#include <cstring>
+#include <cstdlib>
#include <zlib.h>
namespace SWF {
View
@@ -1,7 +1,7 @@
#include "SWFGlyphList.h"
#include <SWFShapeItem.h>
#include "SWF.h"
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -2,7 +2,7 @@
#define SWF_IDITEM_H
#include <SWFItem.h>
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -1,6 +1,6 @@
#include "SWFImportExport.h"
#include "SWF.h"
-#include <string.h>
+#include <cstring>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
View
@@ -1,6 +1,6 @@
#include "SWFItem.h"
-#include <string.h>
-#include <ctype.h>
+#include <cstring>
+#include <cctype>
#include "base64.h"
#include <sys/types.h>
View
@@ -1,7 +1,7 @@
#ifndef F_List_H
#define F_List_H
-#include <stdio.h>
+#include <cstdio>
#define WARNING printf
namespace SWF {
View
@@ -1,7 +1,7 @@
#include "SWFReader.h"
#include "SWFTag.h"
#include "SWFAction.h"
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -1,7 +1,7 @@
#ifndef SWF_Reader_H
#define SWF_Reader_H
-#include <stdio.h>
+#include <cstdio>
#include <stdint.h>
#include "SWFBasic.h"
View
@@ -1,6 +1,6 @@
#include <SWFShapeItem.h>
#include "SWF.h"
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -2,9 +2,9 @@
#define SWF_SHAPEMAKER_H
#include "Geom.h"
-#include <stdio.h>
+#include <cstdio>
#include <libxml/tree.h>
-#include <math.h>
+#include <cmath>
namespace SWF {
View
@@ -1,6 +1,6 @@
#include <SWFStackItem.h>
#include "SWF.h"
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -1,5 +1,5 @@
#include <SWFStyle.h>
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -1,6 +1,6 @@
#include <SWFTag.h>
#include "SWF.h"
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -1,6 +1,6 @@
#include <SWFAction.h>
#include "SWF.h"
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -1,6 +1,6 @@
#include "SWFWriter.h"
-#include <string.h>
-#include <stdlib.h>
+#include <cstring>
+#include <cstdlib>
namespace SWF {
View
@@ -1,7 +1,7 @@
#ifndef SWF_Writer_H
#define SWF_Writer_H
-#include <stdio.h>
+#include <cstdio>
#include <stdint.h>
#include "SWFBasic.h"
View
@@ -2,8 +2,8 @@
#include "SWFFile.h"
#include "swft.h"
#include "xslt.h"
-#include <stdlib.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
View
@@ -1,5 +1,5 @@
#include "Parser.h"
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -1,6 +1,6 @@
#include "SVGGradient.h"
#include "SVGTransformParser.h"
-#include <string.h>
+#include <cstring>
#define TMP_STRLEN 0xFF
View
@@ -5,8 +5,8 @@
#include <vector>
#include <iostream>
#include <libxml/tree.h>
-#include <math.h>
-#include <stdlib.h>
+#include <cmath>
+#include <cstdlib>
#include "SWFShapeMaker.h"
#include "SWF.h"
@@ -1,7 +1,7 @@
#include "SVGPointsParser.h"
#include <iostream>
-#include <string.h>
+#include <cstring>
namespace SWF {
View
@@ -1,6 +1,6 @@
#include "SVGStyle.h"
#include "SVGAttributeParser.h"
-#include <string.h>
+#include <cstring>
#define TMP_STRLEN 0xFF
View
@@ -3,8 +3,8 @@
#include <libxslt/xsltutils.h>
#include <libxslt/variables.h>
#include <libxml/xpathInternals.h>
-#include <stdlib.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
#include "swft.h"
#define TMP_STRLEN 0xFF
View
@@ -2,7 +2,7 @@
#include <libxslt/xsltutils.h>
#include <libxml/xpathInternals.h>
#include "base64.h"
-#include <string.h>
+#include <cstring>
void swft_addFileName( xmlNodePtr node, const char *filename ) {
char *name, *b;
@@ -5,7 +5,7 @@
#include "swft.h"
#include <sys/types.h>
#include <sys/stat.h>
-#include <string.h>
+#include <cstring>
#include "readpng.h"
#include <zlib.h>
@@ -5,7 +5,7 @@
#include "swft.h"
#include <sys/types.h>
#include <sys/stat.h>
-#include <string.h>
+#include <cstring>
#include "readpng.h"
#include <zlib.h>
@@ -5,7 +5,7 @@
#include "swft.h"
#include <sys/types.h>
#include <sys/stat.h>
-#include <string.h>
+#include <cstring>
#define TMP_STRLEN 0xff
@@ -5,7 +5,7 @@
#include "swft.h"
#include <sys/types.h>
#include <sys/stat.h>
-#include <string.h>
+#include <cstring>
#include "readpng.h"
#include <zlib.h>
@@ -5,8 +5,8 @@
#include "swft.h"
#include <sys/types.h>
#include <sys/stat.h>
-#include <string.h>
-#include <math.h>
+#include <cstring>
+#include <cmath>
#include "SWF.h"
#include <ft2build.h>
@@ -5,7 +5,7 @@
#include "swft.h"
#include <sys/types.h>
#include <sys/stat.h>
-#include <string.h>
+#include <cstring>
#define TMP_STRLEN 0xff
View
@@ -1,5 +1,5 @@
#include "xslt.h"
-#include <string.h>
+#include <cstring>
namespace SWF {

0 comments on commit c0031eb

Please sign in to comment.