diff options
author | Måns Rullgård <mans@mansr.com> | 2007-06-17 00:01:30 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-06-17 00:01:30 +0000 |
commit | 699b3f99d0376a8fd5159bdad857228bda59cff6 (patch) | |
tree | 5df6def799acb5cb1a19d85e770ceafdc4d088a4 /libavcodec/ppc | |
parent | 99545457bf1175d55e4eaa2c061dbf0faeb661ec (diff) | |
download | ffmpeg-699b3f99d0376a8fd5159bdad857228bda59cff6.tar.gz |
add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/mathops.h | 5 | ||||
-rw-r--r-- | libavcodec/ppc/types_altivec.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/ppc/mathops.h b/libavcodec/ppc/mathops.h index 6af23f246b..e339231a4d 100644 --- a/libavcodec/ppc/mathops.h +++ b/libavcodec/ppc/mathops.h @@ -20,6 +20,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVCODEC_PPC_MATHOPS_H +#define AVCODEC_PPC_MATHOPS_H + #if defined(ARCH_POWERPC_405) /* signed 16x16 -> 32 multiply add accumulate */ # define MAC16(rt, ra, rb) \ @@ -31,3 +34,5 @@ asm ("mullhw %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); __rt; }) #endif + +#endif diff --git a/libavcodec/ppc/types_altivec.h b/libavcodec/ppc/types_altivec.h index f29026e047..ca15609a2f 100644 --- a/libavcodec/ppc/types_altivec.h +++ b/libavcodec/ppc/types_altivec.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVCODEC_TYPES_ALTIVEC_H +#define AVCODEC_TYPES_ALTIVEC_H + /*********************************************************************** * Vector types **********************************************************************/ @@ -39,3 +42,5 @@ #define zero_s16v (vec_s16_t) zerov #define zero_u32v (vec_u32_t) zerov #define zero_s32v (vec_s32_t) zerov + +#endif |