[Skiboot] [PATCH 30/40] include/capp.h: add #include guard
Stewart Smith
stewart at linux.vnet.ibm.com
Mon Oct 10 19:44:11 AEDT 2016
From: Claudio Carvalho <cclaudio at linux.vnet.ibm.com>
This adds #include guard for include/capp.h
Signed-off-by: Claudio Carvalho <cclaudio at linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
include/capp.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/capp.h b/include/capp.h
index f5494e7..c76258b 100644
--- a/include/capp.h
+++ b/include/capp.h
@@ -1,4 +1,4 @@
-/* Copyright 2013-2014 IBM Corp.
+/* Copyright 2013-2016 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#ifndef __CAPP_H
+#define __CAPP_H
+
struct capp_lid_hdr {
be64 eyecatcher; /* 'CAPPLIDH' in ASCII */
be64 version;
@@ -87,3 +90,5 @@ enum capp_reg {
* The addresses of CAPP1 XSCOMS registers are 0x180 away.
*/
#define CAPP1_REG_OFFSET 0x180
+
+#endif /* __CAPP_H */
--
2.7.4
More information about the Skiboot
mailing list