summaryrefslogtreecommitdiff
path: root/libunwindstack/DwarfEhFrame.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2022-04-20 17:15:38 -0700
committerChristopher Ferris <cferris@google.com>2022-04-20 17:21:11 -0700
commit0cd3943fb8857eba64f8590fd6137648f3fcb198 (patch)
treed7791735cd60241ffb1584d4e6843cd6c86a34a0 /libunwindstack/DwarfEhFrame.h
parent215644709bd7bbda4c05a9db4d55e96be61bcf64 (diff)
downloadunwinding-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.h5
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