diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-04-25 23:32:25 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-04-26 07:21:46 -0400 |
commit | 8fb2cedc8e202871e1770adbd6fe93103bcd3db6 (patch) | |
tree | 1a56eae49ad60d51c31d36e6228cbaf74400a6a6 | |
parent | 98971604c7798c1692aa540ac506d19af8866bd8 (diff) | |
download | rockbox-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.c | 2 | ||||
-rw-r--r-- | bootloader/iriver_h1x0.c | 2 | ||||
-rw-r--r-- | bootloader/iriver_h300.c | 2 |
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 */ |
66 | inline void __reset_cookie(void) | 66 | static 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; | |||
64 | static bool recovery_mode = false; | 64 | static bool recovery_mode = false; |
65 | 65 | ||
66 | /* Reset the cookie for the crt0 crash check */ | 66 | /* Reset the cookie for the crt0 crash check */ |
67 | inline void __reset_cookie(void) | 67 | static 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; | |||
66 | static bool recovery_mode = false; | 66 | static bool recovery_mode = false; |
67 | 67 | ||
68 | /* Reset the cookie for the crt0 crash check */ | 68 | /* Reset the cookie for the crt0 crash check */ |
69 | inline void __reset_cookie(void) | 69 | static 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"); |