diff options
author | Elliott Hughes <enh@google.com> | 2018-02-13 14:26:29 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-02-13 14:27:17 -0800 |
commit | cbc80ba9d839675a0c4891e2ab33f39ba51b04b2 (patch) | |
tree | 0b24e6123c94bd3e61d94fd6eca6a3b9cc9b074e /libc/malloc_debug/malloc_debug.h | |
parent | 3374d0cabb973ff2b73ad8cd909389bdeed18658 (diff) |
Switch the rest of our internal headers to #pragma once.
We've been using #pragma once for new internal files, but let's be more bold.
Bug: N/A
Test: builds
Change-Id: I7e2ee2730043bd884f9571cdbd8b524043030c07
Diffstat (limited to 'libc/malloc_debug/malloc_debug.h')
-rw-r--r-- | libc/malloc_debug/malloc_debug.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/malloc_debug/malloc_debug.h b/libc/malloc_debug/malloc_debug.h index 4a1e8dad1..18a6c2c7f 100644 --- a/libc/malloc_debug/malloc_debug.h +++ b/libc/malloc_debug/malloc_debug.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef MALLOC_DEBUG_H -#define MALLOC_DEBUG_H +#pragma once #include <stdint.h> @@ -70,5 +69,3 @@ constexpr char LOG_DIVIDER[] = "*** *** *** *** *** *** *** *** *** *** *** *** constexpr size_t FREE_TRACK_MEM_BUFFER_SIZE = 4096; extern const MallocDispatch* g_dispatch; - -#endif // MALLOC_DEBUG_H |