Skip to content

Commit

Permalink
Use non-deprecated standard headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwy authored and djcsdy committed Jun 24, 2009
1 parent de74118 commit c0031eb
Show file tree
Hide file tree
Showing 33 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion src/Geom.h
Expand Up @@ -2,7 +2,7 @@
#define GEOM_H #define GEOM_H


#include <libxml/tree.h> #include <libxml/tree.h>
#include <math.h> #include <cmath>


using namespace std; using namespace std;


Expand Down
2 changes: 1 addition & 1 deletion src/SWFAction.cpp
@@ -1,6 +1,6 @@
#include <SWFAction.h> #include <SWFAction.h>
#include "SWF.h" #include "SWF.h"
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
4 changes: 2 additions & 2 deletions src/SWFFile.cpp
@@ -1,8 +1,8 @@
#include "SWFFile.h" #include "SWFFile.h"
#include "SWFReader.h" #include "SWFReader.h"
#include "SWFWriter.h" #include "SWFWriter.h"
#include <string.h> #include <cstring>
#include <stdlib.h> #include <cstdlib>
#include <zlib.h> #include <zlib.h>


namespace SWF { namespace SWF {
Expand Down
2 changes: 1 addition & 1 deletion src/SWFGlyphList.cpp
@@ -1,7 +1,7 @@
#include "SWFGlyphList.h" #include "SWFGlyphList.h"
#include <SWFShapeItem.h> #include <SWFShapeItem.h>
#include "SWF.h" #include "SWF.h"
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/SWFIdItem.h
Expand Up @@ -2,7 +2,7 @@
#define SWF_IDITEM_H #define SWF_IDITEM_H


#include <SWFItem.h> #include <SWFItem.h>
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/SWFImportExport.cpp
@@ -1,6 +1,6 @@
#include "SWFImportExport.h" #include "SWFImportExport.h"
#include "SWF.h" #include "SWF.h"
#include <string.h> #include <cstring>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
Expand Down
4 changes: 2 additions & 2 deletions src/SWFItem.cpp
@@ -1,6 +1,6 @@
#include "SWFItem.h" #include "SWFItem.h"
#include <string.h> #include <cstring>
#include <ctype.h> #include <cctype>
#include "base64.h" #include "base64.h"
#include <sys/types.h> #include <sys/types.h>


Expand Down
2 changes: 1 addition & 1 deletion src/SWFList.h
@@ -1,7 +1,7 @@
#ifndef F_List_H #ifndef F_List_H
#define F_List_H #define F_List_H


#include <stdio.h> #include <cstdio>
#define WARNING printf #define WARNING printf


namespace SWF { namespace SWF {
Expand Down
2 changes: 1 addition & 1 deletion src/SWFReader.cpp
@@ -1,7 +1,7 @@
#include "SWFReader.h" #include "SWFReader.h"
#include "SWFTag.h" #include "SWFTag.h"
#include "SWFAction.h" #include "SWFAction.h"
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/SWFReader.h
@@ -1,7 +1,7 @@
#ifndef SWF_Reader_H #ifndef SWF_Reader_H
#define SWF_Reader_H #define SWF_Reader_H


#include <stdio.h> #include <cstdio>
#include <stdint.h> #include <stdint.h>
#include "SWFBasic.h" #include "SWFBasic.h"


Expand Down
2 changes: 1 addition & 1 deletion src/SWFShapeItem.cpp
@@ -1,6 +1,6 @@
#include <SWFShapeItem.h> #include <SWFShapeItem.h>
#include "SWF.h" #include "SWF.h"
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
4 changes: 2 additions & 2 deletions src/SWFShapeMaker.h
Expand Up @@ -2,9 +2,9 @@
#define SWF_SHAPEMAKER_H #define SWF_SHAPEMAKER_H


#include "Geom.h" #include "Geom.h"
#include <stdio.h> #include <cstdio>
#include <libxml/tree.h> #include <libxml/tree.h>
#include <math.h> #include <cmath>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/SWFStackItem.cpp
@@ -1,6 +1,6 @@
#include <SWFStackItem.h> #include <SWFStackItem.h>
#include "SWF.h" #include "SWF.h"
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/SWFStyle.cpp
@@ -1,5 +1,5 @@
#include <SWFStyle.h> #include <SWFStyle.h>
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/SWFTag.cpp
@@ -1,6 +1,6 @@
#include <SWFTag.h> #include <SWFTag.h>
#include "SWF.h" #include "SWF.h"
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/SWFTrait.cpp
@@ -1,6 +1,6 @@
#include <SWFAction.h> #include <SWFAction.h>
#include "SWF.h" #include "SWF.h"
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
4 changes: 2 additions & 2 deletions src/SWFWriter.cpp
@@ -1,6 +1,6 @@
#include "SWFWriter.h" #include "SWFWriter.h"
#include <string.h> #include <cstring>
#include <stdlib.h> #include <cstdlib>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/SWFWriter.h
@@ -1,7 +1,7 @@
#ifndef SWF_Writer_H #ifndef SWF_Writer_H
#define SWF_Writer_H #define SWF_Writer_H


#include <stdio.h> #include <cstdio>
#include <stdint.h> #include <stdint.h>
#include "SWFBasic.h" #include "SWFBasic.h"


Expand Down
4 changes: 2 additions & 2 deletions src/swfmill.cpp
Expand Up @@ -2,8 +2,8 @@
#include "SWFFile.h" #include "SWFFile.h"
#include "swft.h" #include "swft.h"
#include "xslt.h" #include "xslt.h"
#include <stdlib.h> #include <cstdlib>
#include <string.h> #include <cstring>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
Expand Down
2 changes: 1 addition & 1 deletion src/swft/Parser.cpp
@@ -1,5 +1,5 @@
#include "Parser.h" #include "Parser.h"
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/swft/SVGGradient.cpp
@@ -1,6 +1,6 @@
#include "SVGGradient.h" #include "SVGGradient.h"
#include "SVGTransformParser.h" #include "SVGTransformParser.h"
#include <string.h> #include <cstring>


#define TMP_STRLEN 0xFF #define TMP_STRLEN 0xFF


Expand Down
4 changes: 2 additions & 2 deletions src/swft/SVGPathParser.h
Expand Up @@ -5,8 +5,8 @@
#include <vector> #include <vector>
#include <iostream> #include <iostream>
#include <libxml/tree.h> #include <libxml/tree.h>
#include <math.h> #include <cmath>
#include <stdlib.h> #include <cstdlib>
#include "SWFShapeMaker.h" #include "SWFShapeMaker.h"
#include "SWF.h" #include "SWF.h"


Expand Down
2 changes: 1 addition & 1 deletion src/swft/SVGPointsParser.cpp
@@ -1,7 +1,7 @@
#include "SVGPointsParser.h" #include "SVGPointsParser.h"


#include <iostream> #include <iostream>
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down
2 changes: 1 addition & 1 deletion src/swft/SVGStyle.cpp
@@ -1,6 +1,6 @@
#include "SVGStyle.h" #include "SVGStyle.h"
#include "SVGAttributeParser.h" #include "SVGAttributeParser.h"
#include <string.h> #include <cstring>


#define TMP_STRLEN 0xFF #define TMP_STRLEN 0xFF


Expand Down
4 changes: 2 additions & 2 deletions src/swft/swft.cpp
Expand Up @@ -3,8 +3,8 @@
#include <libxslt/xsltutils.h> #include <libxslt/xsltutils.h>
#include <libxslt/variables.h> #include <libxslt/variables.h>
#include <libxml/xpathInternals.h> #include <libxml/xpathInternals.h>
#include <stdlib.h> #include <cstdlib>
#include <string.h> #include <cstring>
#include "swft.h" #include "swft.h"


#define TMP_STRLEN 0xFF #define TMP_STRLEN 0xFF
Expand Down
2 changes: 1 addition & 1 deletion src/swft/swft_import.cpp
Expand Up @@ -2,7 +2,7 @@
#include <libxslt/xsltutils.h> #include <libxslt/xsltutils.h>
#include <libxml/xpathInternals.h> #include <libxml/xpathInternals.h>
#include "base64.h" #include "base64.h"
#include <string.h> #include <cstring>


void swft_addFileName( xmlNodePtr node, const char *filename ) { void swft_addFileName( xmlNodePtr node, const char *filename ) {
char *name, *b; char *name, *b;
Expand Down
2 changes: 1 addition & 1 deletion src/swft/swft_import_binary.cpp
Expand Up @@ -5,7 +5,7 @@
#include "swft.h" #include "swft.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <string.h> #include <cstring>
#include "readpng.h" #include "readpng.h"
#include <zlib.h> #include <zlib.h>


Expand Down
2 changes: 1 addition & 1 deletion src/swft/swft_import_jpeg.cpp
Expand Up @@ -5,7 +5,7 @@
#include "swft.h" #include "swft.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <string.h> #include <cstring>
#include "readpng.h" #include "readpng.h"
#include <zlib.h> #include <zlib.h>


Expand Down
2 changes: 1 addition & 1 deletion src/swft/swft_import_mp3.cpp
Expand Up @@ -5,7 +5,7 @@
#include "swft.h" #include "swft.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <string.h> #include <cstring>


#define TMP_STRLEN 0xff #define TMP_STRLEN 0xff


Expand Down
2 changes: 1 addition & 1 deletion src/swft/swft_import_png.cpp
Expand Up @@ -5,7 +5,7 @@
#include "swft.h" #include "swft.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <string.h> #include <cstring>
#include "readpng.h" #include "readpng.h"
#include <zlib.h> #include <zlib.h>


Expand Down
4 changes: 2 additions & 2 deletions src/swft/swft_import_ttf.cpp
Expand Up @@ -5,8 +5,8 @@
#include "swft.h" #include "swft.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <string.h> #include <cstring>
#include <math.h> #include <cmath>


#include "SWF.h" #include "SWF.h"
#include <ft2build.h> #include <ft2build.h>
Expand Down
2 changes: 1 addition & 1 deletion src/swft/swft_import_wav.cpp
Expand Up @@ -5,7 +5,7 @@
#include "swft.h" #include "swft.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <string.h> #include <cstring>


#define TMP_STRLEN 0xff #define TMP_STRLEN 0xff


Expand Down
2 changes: 1 addition & 1 deletion src/xslt/xslt_pack.cpp
@@ -1,5 +1,5 @@
#include "xslt.h" #include "xslt.h"
#include <string.h> #include <cstring>


namespace SWF { namespace SWF {


Expand Down

0 comments on commit c0031eb

Please sign in to comment.