aboutsummaryrefslogtreecommitdiffstats
path: root/linker/linker_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'linker/linker_allocator.h')
-rw-r--r--linker/linker_allocator.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/linker/linker_allocator.h b/linker/linker_allocator.h
index 7fc6cbf38..82e4ef456 100644
--- a/linker/linker_allocator.h
+++ b/linker/linker_allocator.h
@@ -26,8 +26,7 @@
* SUCH DAMAGE.
*/
-#ifndef __LINKER_ALLOCATOR_H
-#define __LINKER_ALLOCATOR_H
+#pragma once
#include <errno.h>
#include <stdlib.h>
@@ -152,6 +151,3 @@ class LinkerMemoryAllocator {
LinkerSmallObjectAllocator* allocators_;
uint8_t allocators_buf_[sizeof(LinkerSmallObjectAllocator)*kSmallObjectAllocatorsCount];
};
-
-
-#endif /* __LINKER_ALLOCATOR_H */