aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/linux_header.h
diff options
context:
space:
mode:
authorMarc Schink <openocd-dev@marcschink.de>2015-09-21 21:07:46 +0200
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-05-24 22:30:55 +0100
commitd4b7cbff88bb5eb14fececdbd8e2a0b3e58ce6e0 (patch)
tree78f8488d823e6abc4774529de947572e955a525e /src/rtos/linux_header.h
parentd0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69 (diff)
Make #include guard naming consistent
Change-Id: Ie13e8af0bb74ed290f811dcad64ad06c9d8cb4fa Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/2956 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/rtos/linux_header.h')
-rw-r--r--src/rtos/linux_header.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rtos/linux_header.h b/src/rtos/linux_header.h
index faaf319b..a2b408ef 100644
--- a/src/rtos/linux_header.h
+++ b/src/rtos/linux_header.h
@@ -1,3 +1,6 @@
+#ifndef OPENOCD_RTOS_LINUX_HEADER_H
+#define OPENOCD_RTOS_LINUX_HEADER_H
+
/* gdb script to update the header file
according to kernel version and build option
before executing function awareness
@@ -30,3 +33,5 @@ define awareness
#define CPU_CONT 0x1c
#define PREEMPT 0x4
#define MM_CTX 0x160
+
+#endif /* OPENOCD_RTOS_LINUX_HEADER_H */