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/DwarfEhFrame.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/DwarfEhFrame.h')
-rw-r--r-- | libunwindstack/DwarfEhFrame.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libunwindstack/DwarfEhFrame.h b/libunwindstack/DwarfEhFrame.h index 7a41e45..93befd4 100644 --- a/libunwindstack/DwarfEhFrame.h +++ b/libunwindstack/DwarfEhFrame.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef _LIBUNWINDSTACK_DWARF_EH_FRAME_H -#define _LIBUNWINDSTACK_DWARF_EH_FRAME_H +#pragma once #include <stdint.h> @@ -45,5 +44,3 @@ class DwarfEhFrame : public DwarfSectionImpl<AddressType> { }; } // namespace unwindstack - -#endif // _LIBUNWINDSTACK_DWARF_EH_FRAME_H |