summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-04-25 23:32:25 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-04-26 07:21:46 -0400
commit8fb2cedc8e202871e1770adbd6fe93103bcd3db6 (patch)
tree1a56eae49ad60d51c31d36e6228cbaf74400a6a6
parent98971604c7798c1692aa540ac506d19af8866bd8 (diff)
downloadrockbox-8fb2cedc8e202871e1770adbd6fe93103bcd3db6.tar.gz
rockbox-8fb2cedc8e202871e1770adbd6fe93103bcd3db6.zip
coldfire: Fix bootloader builds on GCC8
(missing 'static' on an inline function definition) Change-Id: I46318443d45dc6d3141fce5c8162c04eb242b4a2
-rw-r--r--bootloader/iaudio_coldfire.c2
-rw-r--r--bootloader/iriver_h1x0.c2
-rw-r--r--bootloader/iriver_h300.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/bootloader/iaudio_coldfire.c b/bootloader/iaudio_coldfire.c
index d9e659847a..173d9f3f89 100644
--- a/bootloader/iaudio_coldfire.c
+++ b/bootloader/iaudio_coldfire.c
@@ -63,7 +63,7 @@ int usb_screen(void)
63} 63}
64 64
65/* Reset the cookie for the crt0 crash check */ 65/* Reset the cookie for the crt0 crash check */
66inline void __reset_cookie(void) 66static inline void __reset_cookie(void)
67{ 67{
68 asm(" move.l #0,%d0"); 68 asm(" move.l #0,%d0");
69 asm(" move.l %d0,0x10017ffc"); 69 asm(" move.l %d0,0x10017ffc");
diff --git a/bootloader/iriver_h1x0.c b/bootloader/iriver_h1x0.c
index 6c509a9922..faa76dc17d 100644
--- a/bootloader/iriver_h1x0.c
+++ b/bootloader/iriver_h1x0.c
@@ -64,7 +64,7 @@ extern int remote_line;
64static bool recovery_mode = false; 64static bool recovery_mode = false;
65 65
66/* Reset the cookie for the crt0 crash check */ 66/* Reset the cookie for the crt0 crash check */
67inline void __reset_cookie(void) 67static inline void __reset_cookie(void)
68{ 68{
69 asm(" move.l #0,%d0"); 69 asm(" move.l #0,%d0");
70 asm(" move.l %d0,0x10017ffc"); 70 asm(" move.l %d0,0x10017ffc");
diff --git a/bootloader/iriver_h300.c b/bootloader/iriver_h300.c
index 655abfa505..ec7e368a58 100644
--- a/bootloader/iriver_h300.c
+++ b/bootloader/iriver_h300.c
@@ -66,7 +66,7 @@ extern int remote_line;
66static bool recovery_mode = false; 66static bool recovery_mode = false;
67 67
68/* Reset the cookie for the crt0 crash check */ 68/* Reset the cookie for the crt0 crash check */
69inline void __reset_cookie(void) 69static inline void __reset_cookie(void)
70{ 70{
71 asm(" move.l #0,%d0"); 71 asm(" move.l #0,%d0");
72 asm(" move.l %d0,0x10017ffc"); 72 asm(" move.l %d0,0x10017ffc");