Skip to content
Snippets Groups Projects
Commit d2f49407 authored by James Zern's avatar James Zern
Browse files

vpx_ports: normalize include guards

Change-Id: I4e931aadecfe1761c720b080bdd67a1875794979
parent 941e0b61
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,8 @@
*/
#ifndef VPX_PORTS_ARM_H
#define VPX_PORTS_ARM_H
#ifndef VPX_PORTS_ARM_H_
#define VPX_PORTS_ARM_H_
#include <stdlib.h>
#include "vpx_config.h"
......@@ -23,5 +23,5 @@
int arm_cpu_caps(void);
#endif
#endif // VPX_PORTS_ARM_H_
......@@ -9,8 +9,8 @@
*/
#ifndef VPX_PORTS_ASM_OFFSETS_H
#define VPX_PORTS_ASM_OFFSETS_H
#ifndef VPX_PORTS_ASM_OFFSETS_H_
#define VPX_PORTS_ASM_OFFSETS_H_
#include <stddef.h>
......@@ -28,4 +28,4 @@
#define END
#endif
#endif /* VPX_PORTS_ASM_OFFSETS_H */
#endif // VPX_PORTS_ASM_OFFSETS_H_
......@@ -7,4 +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_PORTS_CONFIG_H_
#define VPX_PORTS_CONFIG_H_
#include "vpx_config.h"
#endif // VPX_PORTS_CONFIG_H_
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef VPX_PORTS_EMMINTRIN_COMPAT_H
#define VPX_PORTS_EMMINTRIN_COMPAT_H
#ifndef VPX_PORTS_EMMINTRIN_COMPAT_H_
#define VPX_PORTS_EMMINTRIN_COMPAT_H_
#if defined(__GNUC__) && __GNUC__ < 4
/* From emmintrin.h (gcc 4.5.3) */
......@@ -52,4 +52,4 @@ _mm_castsi128_pd(__m128i __A)
}
#endif
#endif
#endif // VPX_PORTS_EMMINTRIN_COMPAT_H_
......@@ -9,8 +9,8 @@
*/
#ifndef VPX_PORTS_MEM_H
#define VPX_PORTS_MEM_H
#ifndef VPX_PORTS_MEM_H_
#define VPX_PORTS_MEM_H_
#include "vpx_config.h"
#include "vpx/vpx_integer.h"
......@@ -44,4 +44,4 @@
#define UNINITIALIZED_IS_SAFE(x) x=x
#else
#define UNINITIALIZED_IS_SAFE(x) x
#endif
#endif // VPX_PORTS_MEM_H_
......@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef VPX_PORTS_MEM_OPS_H_
#define VPX_PORTS_MEM_OPS_H_
/* \file
* \brief Provides portable memory access primitives
......@@ -220,3 +222,5 @@ static void mem_put_le32(void *vmem, MEM_VALUE_T val) {
mem[2] = (val >> 16) & 0xff;
mem[3] = (val >> 24) & 0xff;
}
#endif // VPX_PORTS_MEM_OPS_H_
......@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef VPX_PORTS_MEM_OPS_ALIGNED_H_
#define VPX_PORTS_MEM_OPS_ALIGNED_H_
/* \file
* \brief Provides portable memory access primitives for operating on aligned
......@@ -155,3 +157,5 @@ mem_put_le_aligned_generic(32)
#undef swap_endian_32
#undef swap_endian_16_se
#undef swap_endian_32_se
#endif // VPX_PORTS_MEM_OPS_ALIGNED_H_
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef VPX_ONCE_H
#define VPX_ONCE_H
#ifndef VPX_PORTS_VPX_ONCE_H_
#define VPX_PORTS_VPX_ONCE_H_
#include "vpx_config.h"
......@@ -100,4 +100,4 @@ static void once(void (*func)(void))
}
#endif
#endif
#endif // VPX_PORTS_VPX_ONCE_H_
......@@ -9,8 +9,8 @@
*/
#ifndef VPX_TIMER_H
#define VPX_TIMER_H
#ifndef VPX_PORTS_VPX_TIMER_H_
#define VPX_PORTS_VPX_TIMER_H_
#include "vpx/vpx_integer.h"
#if CONFIG_OS_SUPPORT
......@@ -114,4 +114,4 @@ vpx_usec_timer_elapsed(struct vpx_usec_timer *t) {
#endif /* CONFIG_OS_SUPPORT */
#endif
#endif // VPX_PORTS_VPX_TIMER_H_
......@@ -9,8 +9,8 @@
*/
#ifndef VPX_PORTS_X86_H
#define VPX_PORTS_X86_H
#ifndef VPX_PORTS_X86_H_
#define VPX_PORTS_X86_H_
#include <stdlib.h>
#include "vpx_config.h"
......@@ -256,5 +256,5 @@ x87_set_double_precision(void) {
extern void vpx_reset_mmx_state(void);
#endif
#endif // VPX_PORTS_X86_H_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment