aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2015-12-04 13:28:41 -0800
committerLuis R. Rodriguez <mcgrof@kernel.org>2016-02-11 08:42:16 -0800
commitab54c0bfad7b8e26d1da06f09b50b875e3bebb2a (patch)
treed3392c09775e55dd3adc7c075192ce55cdb19f5d
parent5c53f790011f5f3a22885e308fbc819d420d6d4c (diff)
downloadlinker-tables-ab54c0bfad7b8e26d1da06f09b50b875e3bebb2a.tar.gz
init.h: provide header guard
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
-rw-r--r--init.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.h b/init.h
index 2f2845b..f4ef6b2 100644
--- a/init.h
+++ b/init.h
@@ -1,3 +1,6 @@
+#ifndef __X86_INIT_TABLES_H
+#define __X86_INIT_TABLES_H
+
#include <stdbool.h>
#include <linux/types.h>
@@ -237,3 +240,5 @@ void sort_table(struct x86_init_fn *start,
struct x86_init_fn *finish);
void check_table_entries(struct x86_init_fn *start,
struct x86_init_fn *finish);
+
+#endif /* __X86_INIT_TABLES_H */