From 878e9ef32496ffe77870105b382d7cd79ebc1e98 Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 21 Feb 2008 00:12:02 +0000 Subject: Add missing multiple inclusion guards. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26044 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_def.h | 5 +++++ stream/vcd_read.h | 5 +++++ stream/vcd_read_darwin.h | 4 ++++ stream/vcd_read_fbsd.h | 4 ++++ 4 files changed, 18 insertions(+) (limited to 'stream') diff --git a/stream/tvi_def.h b/stream/tvi_def.h index 9682b56f13..19a9d9d08a 100644 --- a/stream/tvi_def.h +++ b/stream/tvi_def.h @@ -1,3 +1,6 @@ +#ifndef TVI_DEF_H +#define TVI_DEF_H + #include /* malloc */ #include /* memset */ @@ -103,3 +106,5 @@ static inline void fill_blank_frame(char* buffer,int len,int fmt){ memset(buffer,0xC0,len); } } + +#endif /* TVI_DEF_H */ diff --git a/stream/vcd_read.h b/stream/vcd_read.h index 587a783f19..b7bb379b7d 100644 --- a/stream/vcd_read.h +++ b/stream/vcd_read.h @@ -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 @@ static int sun_vcd_read(mp_vcd_priv_t* vcd, int *offset) #error vcd is not yet supported on this arch... #endif + +#endif /* VCD_READ_H */ diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h index 64f526c19b..85076d46cd 100644 --- a/stream/vcd_read_darwin.h +++ b/stream/vcd_read_darwin.h @@ -1,3 +1,6 @@ +#ifndef VCD_READ_DARWIN_H +#define VCD_READ_DARWIN_H + #include #include #include @@ -200,3 +203,4 @@ static int vcd_read(mp_vcd_priv_t* vcd,char *mem) return VCD_SECTOR_DATA; } +#endif /* VCD_READ_DARWIN_H */ diff --git a/stream/vcd_read_fbsd.h b/stream/vcd_read_fbsd.h index fc2103ed20..3b061b9121 100644 --- a/stream/vcd_read_fbsd.h +++ b/stream/vcd_read_fbsd.h @@ -1,3 +1,6 @@ +#ifndef VCD_READ_FBSD_H +#define VCD_READ_FBSD_H + #include #include #include "libavutil/intreadwrite.h" @@ -230,3 +233,4 @@ vcd_read(mp_vcd_priv_t* vcd, char *mem) return VCD_SECTOR_DATA; } +#endif /* VCD_READ_FBSD_H */ -- cgit v1.2.3