[coreboot-gerrit] Change in coreboot[master]: src/device: Add guards on all header files

Martin Roth (Code Review) gerrit at coreboot.org
Mon Jul 24 05:16:13 CEST 2017


Martin Roth has uploaded this change for review. ( https://review.coreboot.org/20737


Change subject: src/device: Add guards on all header files
......................................................................

src/device: Add guards on all header files

Change-Id: I8641f32ed2221f1d6e6dac884912251f64424f4d
Signed-off-by: Martin Roth <martinroth at google.com>
---
M src/device/oprom/include/io.h
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/37/20737/1

diff --git a/src/device/oprom/include/io.h b/src/device/oprom/include/io.h
index fc11640..3a723bd 100644
--- a/src/device/oprom/include/io.h
+++ b/src/device/oprom/include/io.h
@@ -11,6 +11,9 @@
  * GNU General Public License for more details.
  */
 
+#ifndef __OPROM_IO_H__
+#define __OPROM_IO_H__
+
 #if IS_ENABLED(CONFIG_ARCH_X86)
 #include <arch/io.h>
 #else
@@ -22,3 +25,4 @@
 u16 inw(u16 port);
 u32 inl(u16 port);
 #endif
+#endif /* __OPROM_IO_H__ */

-- 
To view, visit https://review.coreboot.org/20737
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8641f32ed2221f1d6e6dac884912251f64424f4d
Gerrit-Change-Number: 20737
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170724/a4de5666/attachment.html>


More information about the coreboot-gerrit mailing list