[coreboot-gerrit] Change in coreboot[master]: src/lib: Add guards on all header files
Martin Roth (Code Review)
gerrit at coreboot.org
Mon Jul 24 05:16:08 CEST 2017
Martin Roth has uploaded this change for review. ( https://review.coreboot.org/20736
Change subject: src/lib: Add guards on all header files
......................................................................
src/lib: Add guards on all header files
Change-Id: Iad9360cdaf972523ab3ce5a351b03a0255f76d63
Signed-off-by: Martin Roth <martinroth at google.com>
---
M src/lib/gcov-iov.h
M src/lib/tlcl_structures.h
2 files changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/20736/1
diff --git a/src/lib/gcov-iov.h b/src/lib/gcov-iov.h
index 09951fb..65e01c0 100644
--- a/src/lib/gcov-iov.h
+++ b/src/lib/gcov-iov.h
@@ -1,4 +1,8 @@
+#ifndef __LIB_GCOV_H__
+#define __LIB_GCOV_H__
/* Generated automatically by the program `build/gcov-iov'
from `4.7.2 (4 7) and (*)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x3430372a) /* 407* */
+
+#endif
diff --git a/src/lib/tlcl_structures.h b/src/lib/tlcl_structures.h
index 880864e..ce650da 100644
--- a/src/lib/tlcl_structures.h
+++ b/src/lib/tlcl_structures.h
@@ -1,4 +1,6 @@
/* This file is automatically generated */
+#ifndef __LIB_TLCL_STRUCTURES_H__
+#define __LIB_TLCL_STRUCTURES_H__
const struct s_tpm_extend_cmd{
uint8_t buffer[34];
@@ -162,3 +164,5 @@
const int kWriteInfoLength = 12;
const int kNvDataPublicPermissionsOffset = 60;
+
+#endif /* __LIB_TLCL_STRUCTURES_H__ */
--
To view, visit https://review.coreboot.org/20736
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad9360cdaf972523ab3ce5a351b03a0255f76d63
Gerrit-Change-Number: 20736
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/ee2c88ad/attachment-0001.html>
More information about the coreboot-gerrit
mailing list