From 06e08a02a45b38e3a13b395335fcdc7f8139d590 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 27 Jan 2008 23:09:03 +0000 Subject: Add multiple inclusion guards. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25895 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/native/RTjpegN.h | 5 ++++- libmpcodecs/native/xa_gsm.h | 4 +++- libmpcodecs/native/xa_gsm_int.h | 4 ++++ 3 files changed, 11 insertions(+), 2 deletions(-) (limited to 'libmpcodecs/native') diff --git a/libmpcodecs/native/RTjpegN.h b/libmpcodecs/native/RTjpegN.h index 98174a0b9c..057ade76e2 100644 --- a/libmpcodecs/native/RTjpegN.h +++ b/libmpcodecs/native/RTjpegN.h @@ -21,6 +21,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef RTJPEGN_H +#define RTJPEGN_H + #define __u8 uint8_t #define __u16 uint16_t #define __u32 uint32_t @@ -52,5 +55,5 @@ extern void RTjpeg_yuvrgb8(__u8 *buf, __u8 *rgb, int stride); extern void RTjpeg_yuvrgb16(__u8 *buf, __u8 *rgb, int stride); extern void RTjpeg_yuvrgb24(__u8 *buf, __u8 *rgb, int stride); extern void RTjpeg_yuvrgb32(__u8 *buf, __u8 *rgb, int stride); - +#endif /* RTJPEGN_H */ diff --git a/libmpcodecs/native/xa_gsm.h b/libmpcodecs/native/xa_gsm.h index 232a7761e4..670d9a418c 100644 --- a/libmpcodecs/native/xa_gsm.h +++ b/libmpcodecs/native/xa_gsm.h @@ -1,6 +1,8 @@ +#ifndef XA_GSM_H +#define XA_GSM_H void XA_MSGSM_Decoder(unsigned char *ibuf,unsigned short *obuf); void XA_GSM_Decoder(unsigned char *ibuf,unsigned short *obuf); void GSM_Init(void); - +#endif /* XA_GSM_H */ diff --git a/libmpcodecs/native/xa_gsm_int.h b/libmpcodecs/native/xa_gsm_int.h index 3d459a4e29..a147308445 100644 --- a/libmpcodecs/native/xa_gsm_int.h +++ b/libmpcodecs/native/xa_gsm_int.h @@ -22,6 +22,9 @@ * ********************************************************************/ +#ifndef XA_GSM_INT_H +#define XA_GSM_INT_H + #include "xa_gsm.h" @@ -128,3 +131,4 @@ typedef struct { */ +#endif /* XA_GSM_INT_H */ -- cgit v1.2.3