coldfire: Fix bootloader builds on GCC8

(missing 'static' on an inline function definition)

Change-Id: I46318443d45dc6d3141fce5c8162c04eb242b4a2
This commit is contained in:
Solomon Peachy 2024-04-25 23:32:25 -04:00
parent 98971604c7
commit 8fb2cedc8e
3 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ int usb_screen(void)
}
/* Reset the cookie for the crt0 crash check */
inline void __reset_cookie(void)
static inline void __reset_cookie(void)
{
asm(" move.l #0,%d0");
asm(" move.l %d0,0x10017ffc");

View file

@ -64,7 +64,7 @@ extern int remote_line;
static bool recovery_mode = false;
/* Reset the cookie for the crt0 crash check */
inline void __reset_cookie(void)
static inline void __reset_cookie(void)
{
asm(" move.l #0,%d0");
asm(" move.l %d0,0x10017ffc");

View file

@ -66,7 +66,7 @@ extern int remote_line;
static bool recovery_mode = false;
/* Reset the cookie for the crt0 crash check */
inline void __reset_cookie(void)
static inline void __reset_cookie(void)
{
asm(" move.l #0,%d0");
asm(" move.l %d0,0x10017ffc");