[Skiboot] [PATCH 06/12] include/capp.h: Add #include guard

Claudio Carvalho cclaudio at linux.vnet.ibm.com
Thu Aug 11 16:30:14 AEST 2016


This adds #include guard for include/capp.h

Signed-off-by: Claudio Carvalho <cclaudio 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 */
-- 
1.9.1



More information about the Skiboot mailing list