Fix red. Need 'inline' with 'always_inline'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26899 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2b640ba4b8
commit
6020075551
1 changed files with 4 additions and 4 deletions
|
@ -157,11 +157,11 @@ static inline void load_context(const void* addr)
|
|||
__attribute__((always_inline));
|
||||
|
||||
#if NUM_CORES > 1
|
||||
static void __attribute__((noinline, noreturn))
|
||||
thread_final_exit(struct thread_entry *current);
|
||||
static void thread_final_exit(struct thread_entry *current)
|
||||
__attribute__((noinline, noreturn));
|
||||
#else
|
||||
static void __attribute__((always_inline, noreturn))
|
||||
thread_final_exit(struct thread_entry *current);
|
||||
static inline void thread_final_exit(struct thread_entry *current)
|
||||
__attribute__((always_inline, noreturn));
|
||||
#endif
|
||||
|
||||
void switch_thread(void)
|
||||
|
|
Loading…
Reference in a new issue