summaryrefslogtreecommitdiff
path: root/src/arch/riscv
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv')
-rw-r--r--src/arch/riscv/include/arch/stages.h2
1 files changed, 1 insertions, 1 deletions
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")));