changeset 344:580fffa86f08 libavutil

add multiple inclusion guards to headers
author mru
date Sun, 17 Jun 2007 00:01:30 +0000
parents f21d1907d47c
children 86348ea795ad
files base64.h softfloat.h
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/base64.h	Sat Jun 16 22:59:13 2007 +0000
+++ b/base64.h	Sun Jun 17 00:01:30 2007 +0000
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVUTIL_BASE64_H
+#define AVUTIL_BASE64_H
+
 #include <stdint.h>
 
 /**
@@ -34,3 +37,4 @@
  */
 char *av_base64_encode(char * buf, int buf_len, uint8_t * src, int len);
 
+#endif
--- a/softfloat.h	Sat Jun 16 22:59:13 2007 +0000
+++ b/softfloat.h	Sun Jun 17 00:01:30 2007 +0000
@@ -19,6 +19,9 @@
  *
  */
 
+#ifndef AVUTIL_SOFTFLOAT_H
+#define AVUTIL_SOFTFLOAT_H
+
 #include <stdint.h>
 
 #define MIN_EXP -126
@@ -122,3 +125,5 @@
     if(v.exp >= 0) return v.mant <<  v.exp ;
     else           return v.mant >>(-v.exp);
 }
+
+#endif