diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm/include/arch/stages.h | 2 | ||||
-rw-r--r-- | src/arch/arm64/include/arch/stages.h | 3 | ||||
-rw-r--r-- | src/arch/mips/include/arch/stages.h | 2 | ||||
-rw-r--r-- | src/arch/riscv/include/arch/stages.h | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/src/arch/arm/include/arch/stages.h b/src/arch/arm/include/arch/stages.h index 2d20604589..68a3bd116d 100644 --- a/src/arch/arm/include/arch/stages.h +++ b/src/arch/arm/include/arch/stages.h @@ -16,7 +16,7 @@ #ifndef __ARCH_STAGES_H #define __ARCH_STAGES_H -extern void main(void); +#include <main_decl.h> void stage_entry(void); 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 <stdint.h> - -extern void main(void); +#include <main_decl.h> void stage_entry(void); diff --git a/src/arch/mips/include/arch/stages.h b/src/arch/mips/include/arch/stages.h index 664c136bbf..802199f532 100644 --- a/src/arch/mips/include/arch/stages.h +++ b/src/arch/mips/include/arch/stages.h @@ -16,7 +16,7 @@ #ifndef __MIPS_ARCH_STAGES_H #define __MIPS_ARCH_STAGES_H -extern void main(void); +#include <main_decl.h> void stage_entry(void); diff --git a/src/arch/riscv/include/arch/stages.h b/src/arch/riscv/include/arch/stages.h index 07a72a4446..90bd60b9a6 100644 --- a/src/arch/riscv/include/arch/stages.h +++ b/src/arch/riscv/include/arch/stages.h @@ -16,7 +16,7 @@ #ifndef __ARCH_STAGES_H #define __ARCH_STAGES_H -extern void main(void); +#include <main_decl.h> void stage_entry(void) __attribute__((section(".text.stage_entry"))); |