From b040c6b50b49bef7bdfe608c76ddd2cbc13c3a5b Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Thu, 19 Nov 2020 21:40:59 +0100 Subject: [PATCH] Fix variable definition in header. --- source/sys.c | 2 ++ source/sys.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/sys.c b/source/sys.c index ebb8fb4..83b2973 100644 --- a/source/sys.c +++ b/source/sys.c @@ -13,6 +13,8 @@ /* Variables */ static const char certs_fs[] ATTRIBUTE_ALIGN(32) = "/sys/cert.sys"; +u32 boot2version; + void __Sys_ResetCallback(void) { /* Reboot console */ diff --git a/source/sys.h b/source/sys.h index 419ed68..766bffe 100644 --- a/source/sys.h +++ b/source/sys.h @@ -1,7 +1,7 @@ #ifndef _SYS_H_ #define _SYS_H_ -u32 boot2version; +extern u32 boot2version; /* Prototypes */ bool isIOSstub(u8 ios_number); bool loadIOS(int ios);