[MPlayer-cvslog] r25895 - in trunk/libmpcodecs/native: RTjpegN.h xa_gsm.h xa_gsm_int.h
diego
subversion at mplayerhq.hu
Mon Jan 28 00:09:03 CET 2008
Author: diego
Date: Mon Jan 28 00:09:03 2008
New Revision: 25895
Log:
Add multiple inclusion guards.
Modified:
trunk/libmpcodecs/native/RTjpegN.h
trunk/libmpcodecs/native/xa_gsm.h
trunk/libmpcodecs/native/xa_gsm_int.h
Modified: trunk/libmpcodecs/native/RTjpegN.h
==============================================================================
--- trunk/libmpcodecs/native/RTjpegN.h (original)
+++ trunk/libmpcodecs/native/RTjpegN.h Mon Jan 28 00:09:03 2008
@@ -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, __
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 */
Modified: trunk/libmpcodecs/native/xa_gsm.h
==============================================================================
--- trunk/libmpcodecs/native/xa_gsm.h (original)
+++ trunk/libmpcodecs/native/xa_gsm.h Mon Jan 28 00:09:03 2008
@@ -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 */
Modified: trunk/libmpcodecs/native/xa_gsm_int.h
==============================================================================
--- trunk/libmpcodecs/native/xa_gsm_int.h (original)
+++ trunk/libmpcodecs/native/xa_gsm_int.h Mon Jan 28 00:09:03 2008
@@ -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 */
More information about the MPlayer-cvslog
mailing list