From 622eea7e815af39dbee290eddc487baab5e8a5f5 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 10 Feb 2016 23:15:07 -0600 Subject: arches: lib: add main_decl.h for main() declaration It is silly to have a single header to declare the main() symbol, however some of the arches provided it while lib/bootblock.c relied on the arch headers to declare it. Just move the declaration into its own header file and utilize it. Change-Id: I743b4c286956ae047c17fe46241b699feca73628 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/13681 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/arch/arm64/include/arch/stages.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/arch/arm64/include') diff --git a/src/arch/arm64/include/arch/stages.h b/src/arch/arm64/include/arch/stages.h index ce66cddd76..9a88ea7fbe 100644 --- a/src/arch/arm64/include/arch/stages.h +++ b/src/arch/arm64/include/arch/stages.h @@ -17,8 +17,7 @@ #define __ARCH_STAGES_H #include - -extern void main(void); +#include void stage_entry(void); -- cgit v1.2.3