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:
Michael Sevakis 2010-06-17 20:29:59 +00:00
parent 2b640ba4b8
commit 6020075551

View file

@ -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)