summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-01 21:35:58 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-01 21:35:58 +0000
commit2b6af2000b421057a3194a962a9ab6be39d0a838 (patch)
treece97430e57ac21374317f279f22f1b85e4f49689 /stream
parent4a78a92dd6f8532451fb1797bb48e915ca638d99 (diff)
downloadmpv-2b6af2000b421057a3194a962a9ab6be39d0a838.tar.bz2
mpv-2b6af2000b421057a3194a962a9ab6be39d0a838.tar.xz
Add multiple inclusion guards to all header files that lack them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/frequencies.h6
-rw-r--r--stream/netstream.h5
-rw-r--r--stream/stream_dvd.h5
-rw-r--r--stream/stream_dvd_common.h5
4 files changed, 21 insertions, 0 deletions
diff --git a/stream/frequencies.h b/stream/frequencies.h
index 13cf111f44..234a2adb86 100644
--- a/stream/frequencies.h
+++ b/stream/frequencies.h
@@ -5,6 +5,10 @@
*
* Frequencies are given in kHz
*/
+
+#ifndef FREQUENCIES_H
+#define FREQUENCIES_H
+
#define NTSC_AUDIO_CARRIER 4500
#define PAL_AUDIO_CARRIER_I 6000
#define PAL_AUDIO_CARRIER_BGHN 5500
@@ -109,3 +113,5 @@ extern const struct CHANLISTS chanlists[];
extern int chantab;
extern const struct CHANLIST *chanlist;
extern int chancount;
+
+#endif /* FREQUENCIES_H */
diff --git a/stream/netstream.h b/stream/netstream.h
index 61abfc8e8a..75fe94cdd5 100644
--- a/stream/netstream.h
+++ b/stream/netstream.h
@@ -7,6 +7,9 @@
* Data is always low endian
*/
+#ifndef NETSTREAM_H
+#define NETSTREAM_H
+
typedef struct mp_net_stream_packet_st {
uint16_t len;
uint8_t cmd;
@@ -134,3 +137,5 @@ static void net_stream_opened_2_me(mp_net_stream_opened_t* o) {
o->start_pos = le2me_64(o->start_pos);
o->end_pos = le2me_64(o->end_pos);
}
+
+#endif /* NETSTREAM_H */
diff --git a/stream/stream_dvd.h b/stream/stream_dvd.h
index 89987a88bd..020c45f8b7 100644
--- a/stream/stream_dvd.h
+++ b/stream/stream_dvd.h
@@ -1,3 +1,6 @@
+#ifndef STREAM_DVD_H
+#define STREAM_DVD_H
+
#ifdef USE_DVDREAD_INTERNAL
#include "dvdread/dvd_reader.h"
#include "dvdread/ifo_types.h"
@@ -44,3 +47,5 @@ int dvd_lang_from_sid(stream_t *stream, int id);
int dvd_aid_from_lang(stream_t *stream, unsigned char* lang);
int dvd_sid_from_lang(stream_t *stream, unsigned char* lang);
int dvd_chapter_from_cell(dvd_priv_t *dvd,int title,int cell);
+
+#endif /* STREAM_DVD_H */
diff --git a/stream/stream_dvd_common.h b/stream/stream_dvd_common.h
index ff3fc745f5..30a2a10fbc 100644
--- a/stream/stream_dvd_common.h
+++ b/stream/stream_dvd_common.h
@@ -1 +1,6 @@
+#ifndef STREAM_DVD_COMMON_H
+#define STREAM_DVD_COMMON_H
+
int mp_dvdtimetomsec(dvd_time_t *dt);
+
+#endif /* STREAM_DVD_COMMON_H */