From cea455774e7bd4644d5f68faf3657ddac1741ca6 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Wed, 19 Nov 2014 12:08:24 +1100 Subject: 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 Reviewed-on: http://review.coreboot.org/7518 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/mainboard/apple/macbook21/romstage.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/apple') 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 #include #include +#include #include #include #include -- cgit v1.2.3