[coreboot-gerrit] New patch to review for coreboot: e763748 mainboard/apple/macbook21/romstage.c: Missing prototype header

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Wed Nov 19 02:09:32 CET 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7518

-gerrit

commit e763748e21c4df4a885178072873299e9c5aa0c7
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Wed Nov 19 12:08:24 2014 +1100

    mainboard/apple/macbook21/romstage.c: Missing prototype header
    
    Fix warning thrown by Clang due to missing prototype for main
    entry point function in -ffreestanding. main() is as any other
    function in freestanding and so a prototype is strictly needed.
    
    Change-Id: Ic27e0f93065b1aa85d3979db61b5e2ff0dd2a310
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/mainboard/apple/macbook21/romstage.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mainboard/apple/macbook21/romstage.c b/src/mainboard/apple/macbook21/romstage.c
index 7bec26b..8d3fc67 100644
--- a/src/mainboard/apple/macbook21/romstage.c
+++ b/src/mainboard/apple/macbook21/romstage.c
@@ -27,6 +27,7 @@
 #include <arch/io.h>
 #include <device/pci_def.h>
 #include <device/pnp_def.h>
+#include <cpu/intel/romstage.h>
 #include <cpu/x86/lapic.h>
 #include <lib.h>
 #include <cbmem.h>



More information about the coreboot-gerrit mailing list