changeset 26012:04f59a060070

Add missing multiple inclusion guards.
author diego
date Thu, 21 Feb 2008 00:12:02 +0000
parents aee6ea2b39ee
children dcc1f1ac4f0c
files libvo/spuenc.h stream/tvi_def.h stream/vcd_read.h stream/vcd_read_darwin.h stream/vcd_read_fbsd.h
diffstat 5 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/spuenc.h	Thu Feb 21 00:10:33 2008 +0000
+++ b/libvo/spuenc.h	Thu Feb 21 00:12:02 2008 +0000
@@ -19,6 +19,9 @@
  *
  */
 
+#ifndef SPUENC_H
+#define SPUENC_H
+
 #include <stdlib.h>
 #define DATASIZE 53220
 
@@ -38,3 +41,5 @@
 
 void pixbuf_encode_rle(int x, int y, int w, int h, char *inbuf, int stride, encodedata *ed);
 void pixbuf_delete(pixbuf* pb);
+
+#endif /* SPUENC_H */
--- a/stream/tvi_def.h	Thu Feb 21 00:10:33 2008 +0000
+++ b/stream/tvi_def.h	Thu Feb 21 00:12:02 2008 +0000
@@ -1,3 +1,6 @@
+#ifndef TVI_DEF_H
+#define TVI_DEF_H
+
 #include <stdlib.h> /* malloc */
 #include <string.h> /* memset */
 
@@ -103,3 +106,5 @@
         memset(buffer,0xC0,len);
     }
 }
+
+#endif /* TVI_DEF_H */
--- a/stream/vcd_read.h	Thu Feb 21 00:10:33 2008 +0000
+++ b/stream/vcd_read.h	Thu Feb 21 00:12:02 2008 +0000
@@ -1,3 +1,6 @@
+#ifndef VCD_READ_H
+#define VCD_READ_H
+
 #include "libavutil/intreadwrite.h"
 //=================== VideoCD ==========================
 #if	defined(linux) || defined(sun) || defined(__bsdi__)
@@ -221,3 +224,5 @@
 #error vcd is not yet supported on this arch...
 
 #endif
+
+#endif /* VCD_READ_H */
--- a/stream/vcd_read_darwin.h	Thu Feb 21 00:10:33 2008 +0000
+++ b/stream/vcd_read_darwin.h	Thu Feb 21 00:12:02 2008 +0000
@@ -1,3 +1,6 @@
+#ifndef VCD_READ_DARWIN_H
+#define VCD_READ_DARWIN_H
+
 #include <sys/types.h>
 #include <CoreFoundation/CFBase.h>
 #include <IOKit/IOKitLib.h>
@@ -200,3 +203,4 @@
       return VCD_SECTOR_DATA;
 }
 
+#endif /* VCD_READ_DARWIN_H */
--- a/stream/vcd_read_fbsd.h	Thu Feb 21 00:10:33 2008 +0000
+++ b/stream/vcd_read_fbsd.h	Thu Feb 21 00:12:02 2008 +0000
@@ -1,3 +1,6 @@
+#ifndef VCD_READ_FBSD_H
+#define VCD_READ_FBSD_H
+
 #include <sys/types.h>
 #include <inttypes.h>
 #include "libavutil/intreadwrite.h"
@@ -230,3 +233,4 @@
   return VCD_SECTOR_DATA;
 }
 
+#endif /* VCD_READ_FBSD_H */