mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
coldfire: Fix bootloader builds on GCC8
(missing 'static' on an inline function definition) Change-Id: I46318443d45dc6d3141fce5c8162c04eb242b4a2
This commit is contained in:
parent
98971604c7
commit
8fb2cedc8e
3 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue