diff options
author | Christopher Ferris <cferris@google.com> | 2022-04-20 17:15:38 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2022-04-20 17:21:11 -0700 |
commit | 0cd3943fb8857eba64f8590fd6137648f3fcb198 (patch) | |
tree | d7791735cd60241ffb1584d4e6843cd6c86a34a0 /libunwindstack/include/unwindstack/UcontextArm.h | |
parent | 215644709bd7bbda4c05a9db4d55e96be61bcf64 (diff) | |
download | unwinding-0cd3943fb8857eba64f8590fd6137648f3fcb198.tar.gz |
Use #pragma once header guard.
Move to using the #pragma once header guard instead of the #ifndef
construct since it's cleaner.
Test: Compiles.
Change-Id: I0bd76b53cfc78df7465029ef34783f85651a9c74
Diffstat (limited to 'libunwindstack/include/unwindstack/UcontextArm.h')
-rw-r--r-- | libunwindstack/include/unwindstack/UcontextArm.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libunwindstack/include/unwindstack/UcontextArm.h b/libunwindstack/include/unwindstack/UcontextArm.h index 7d1ec3b..0d7f90d 100644 --- a/libunwindstack/include/unwindstack/UcontextArm.h +++ b/libunwindstack/include/unwindstack/UcontextArm.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef _LIBUNWINDSTACK_UCONTEXT_ARM_H -#define _LIBUNWINDSTACK_UCONTEXT_ARM_H +#pragma once #include <stdint.h> @@ -59,5 +58,3 @@ struct arm_ucontext_t { }; } // namespace unwindstack - -#endif // _LIBUNWINDSTACK_UCONTEXT_ARM_H |