changeset 25867:58ff364dc851

Add multiple inclusion guards.
author diego
date Sun, 27 Jan 2008 23:09:03 +0000
parents 178006e9ea75
children c36c43253806
files libmpcodecs/native/RTjpegN.h libmpcodecs/native/xa_gsm.h libmpcodecs/native/xa_gsm_int.h
diffstat 3 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/native/RTjpegN.h	Sun Jan 27 18:49:24 2008 +0000
+++ b/libmpcodecs/native/RTjpegN.h	Sun Jan 27 23:09:03 2008 +0000
@@ -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_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 */
--- a/libmpcodecs/native/xa_gsm.h	Sun Jan 27 18:49:24 2008 +0000
+++ b/libmpcodecs/native/xa_gsm.h	Sun Jan 27 23:09:03 2008 +0000
@@ -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 */
--- a/libmpcodecs/native/xa_gsm_int.h	Sun Jan 27 18:49:24 2008 +0000
+++ b/libmpcodecs/native/xa_gsm_int.h	Sun Jan 27 23:09:03 2008 +0000
@@ -22,6 +22,9 @@
  *
  ********************************************************************/
 
+#ifndef XA_GSM_INT_H
+#define XA_GSM_INT_H
+
 #include "xa_gsm.h"
 
 
@@ -128,3 +131,4 @@
 
 */
 
+#endif /* XA_GSM_INT_H */