HAOUAS Elyes (ehaouas@noos.fr) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6443
-gerrit
commit 3df88937d24cca2a53487e4c6761e02758c6abd0 Author: Elyes HAOUAS ehaouas@noos.fr Date: Fri Aug 1 13:30:36 2014 +0200
qemu-i440fx: Add missing header guards
Change-Id: Id7e333136b02bc7cc8e4ee4933d7bab6f5c4eb7a Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- src/mainboard/emulation/qemu-i440fx/fw_cfg.h | 5 +++++ src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h | 5 +++++ 2 files changed, 10 insertions(+)
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.h b/src/mainboard/emulation/qemu-i440fx/fw_cfg.h index 5ab024f..d40215a 100644 --- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.h +++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.h @@ -15,8 +15,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#ifndef FW_CFG_H +#define FW_CFG_H + void fw_cfg_get(int entry, void *dst, int dstlen); int fw_cfg_check_file(const char *name); void fw_cfg_load_file(const char *name, void *dst); int fw_cfg_max_cpus(void); unsigned long fw_cfg_acpi_tables(unsigned long start); + +#endif /* FW_CFG_H */ diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h b/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h index 2d27245..f53bafa 100644 --- a/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h +++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h @@ -3,6 +3,9 @@ * Copyed over from qemu soure tree, include/hw/nvram/fw_cfg.h */
+#ifndef FW_CFG_IF_H +#define FW_CFG_IF_H + #define FW_CFG_SIGNATURE 0x00 #define FW_CFG_ID 0x01 #define FW_CFG_UUID 0x02 @@ -74,3 +77,5 @@ typedef struct FwCfgSmbios { uint8_t tabletype; uint16_t fieldoffset; } FwCfgSmbios; + +#endif /* FW_CFG_IF_H */