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

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


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


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

src/acpi: Add guards on all header files

Change-Id: I1b2d82a85194df6660bc041af8a690acc5469d02
Signed-off-by: Martin Roth <martinroth at google.com>
---
M src/acpi/sata.h
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/20735/1

diff --git a/src/acpi/sata.h b/src/acpi/sata.h
index 8371341..fecf4c6 100644
--- a/src/acpi/sata.h
+++ b/src/acpi/sata.h
@@ -11,6 +11,11 @@
  * GNU General Public License for more details.
  */
 
+#ifndef __ACPI_SATA_H__
+#define __ACPI_SATA_H__
+
 #include <stdint.h>
 
 void generate_sata_ssdt_ports(const char *scope, uint32_t enable_map);
+
+#endif

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1b2d82a85194df6660bc041af8a690acc5469d02
Gerrit-Change-Number: 20735
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/986c14ce/attachment.html>


More information about the coreboot-gerrit mailing list