[Swfed-svn] swfed-svn [106] ifdef での二重 include 防止

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 2日 (月) 23:07:05 JST


Revision: 106
          http://svn.sourceforge.jp/view?root=swfed&view=rev&rev=106
Author:   yoya
Date:     2009-02-02 23:07:05 +0900 (Mon, 02 Feb 2009)

Log Message:
-----------
ifdef での二重 include 防止

Modified Paths:
--------------
    trunk/src/swf_gif.h
    trunk/src/swf_png.h


-------------- next part --------------
Modified: trunk/src/swf_gif.h
===================================================================
--- trunk/src/swf_gif.h	2009-02-02 14:01:40 UTC (rev 105)
+++ trunk/src/swf_gif.h	2009-02-02 14:07:05 UTC (rev 106)
@@ -4,6 +4,9 @@
   +----------------------------------------------------------------------+
 */
 
+#ifndef __SWF_GIF_H__
+#define __SWF_GIF_H__
+
 extern void *
 gifconv_gif2lossless(unsigned char *gif_data, unsigned long gif_data_len,
                      int *tag, int *format,
@@ -17,3 +20,5 @@
                      unsigned short index_data_count,
                      int tag, int format,
                      unsigned long *length);
+
+#endif /* __SWF_GIF_H__ */

Modified: trunk/src/swf_png.h
===================================================================
--- trunk/src/swf_png.h	2009-02-02 14:01:40 UTC (rev 105)
+++ trunk/src/swf_png.h	2009-02-02 14:07:05 UTC (rev 106)
@@ -4,6 +4,9 @@
   +----------------------------------------------------------------------+
 */
 
+#ifndef __SWF_PNG_H__
+#define __SWF_PNG_H__
+
 extern void *
 pngconv_png2lossless(unsigned char *png_data, unsigned long png_data_len,
                      int *tag, int *format,
@@ -17,3 +20,5 @@
                      unsigned short index_data_count,
                      int tag, int format,
                      unsigned long *length);
+
+#endif /* __SWF_PNG_H__ */



Swfed-svn メーリングリストの案内
Back to archive index