]> granicus.if.org Git - libvpx/commitdiff
Add include guards to setupintrarecon.h and vpx_once.h
authorEhsan Akhgari <ehsan.akhgari@gmail.com>
Mon, 9 Dec 2013 17:05:38 +0000 (12:05 -0500)
committerJohann <johannkoenig@google.com>
Mon, 9 Dec 2013 18:59:28 +0000 (10:59 -0800)
Change-Id: Ife17fc6369ce32f36d5c7f8a2ef5a3b7724d81b9

vp8/common/setupintrarecon.h
vpx_ports/vpx_once.h

index e515c3a005b0a4d43e10b634ffd6dbe6350b9c58..8b6c50bd3c7838e16e135eeaaa5b10ffc8fac209 100644 (file)
@@ -8,6 +8,8 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
+#ifndef SETUPINTRARECON_H
+#define SETUPINTRARECON_H
 
 #include "vpx_scale/yv12config.h"
 extern void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf);
@@ -31,3 +33,5 @@ void setup_intra_recon_left(unsigned char *y_buffer,
     for (i = 0; i < 8; i++)
         v_buffer[uv_stride *i] = (unsigned char) 129;
 }
+
+#endif
index 16a735ccdbe4261b42ab2c65e458d23b5844851c..6052c4d96df98ca0e35f549d1be63c469c719b8b 100644 (file)
@@ -7,6 +7,10 @@
  *  in the file PATENTS.  All contributing project authors may
  *  be found in the AUTHORS file in the root of the source tree.
  */
+
+#ifndef VPX_ONCE_H
+#define VPX_ONCE_H
+
 #include "vpx_config.h"
 
 #if CONFIG_MULTITHREAD && defined(_WIN32)
@@ -95,3 +99,5 @@ static void once(void (*func)(void))
     }
 }
 #endif
+
+#endif