aboutsummaryrefslogtreecommitdiffstats
path: root/linker/linker_namespaces.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-02-13 14:26:29 -0800
committerElliott Hughes <enh@google.com>2018-02-13 14:27:17 -0800
commitcbc80ba9d839675a0c4891e2ab33f39ba51b04b2 (patch)
tree0b24e6123c94bd3e61d94fd6eca6a3b9cc9b074e /linker/linker_namespaces.h
parent3374d0cabb973ff2b73ad8cd909389bdeed18658 (diff)
downloadandroid_bionic-cbc80ba9d839675a0c4891e2ab33f39ba51b04b2.tar.gz
android_bionic-cbc80ba9d839675a0c4891e2ab33f39ba51b04b2.tar.bz2
android_bionic-cbc80ba9d839675a0c4891e2ab33f39ba51b04b2.zip
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 'linker/linker_namespaces.h')
-rw-r--r--linker/linker_namespaces.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/linker/linker_namespaces.h b/linker/linker_namespaces.h
index a7fe0d55d..03520d79d 100644
--- a/linker/linker_namespaces.h
+++ b/linker/linker_namespaces.h
@@ -26,8 +26,7 @@
* SUCH DAMAGE.
*/
-#ifndef __LINKER_NAMESPACES_H
-#define __LINKER_NAMESPACES_H
+#pragma once
#include "linker_common_types.h"
@@ -164,5 +163,3 @@ struct android_namespace_t {
DISALLOW_COPY_AND_ASSIGN(android_namespace_t);
};
-
-#endif /* __LINKER_NAMESPACES_H */