summaryrefslogtreecommitdiff
path: root/src/mainboard/apple
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-19 12:08:24 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-20 06:40:42 +0100
commitcea455774e7bd4644d5f68faf3657ddac1741ca6 (patch)
treeec50bbbd1a509e22869f51bc5dc338740f487d1d /src/mainboard/apple
parentb2086a0e22eb7727fdff52063c18ccc471b25fc6 (diff)
downloadcoreboot-cea455774e7bd4644d5f68faf3657ddac1741ca6.tar.xz
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@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7518 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/apple')
-rw-r--r--src/mainboard/apple/macbook21/romstage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/apple/macbook21/romstage.c b/src/mainboard/apple/macbook21/romstage.c
index 7bec26bd1c..8d3fc67252 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>