From 2b640ba4b8a0007821677fc9f3cf9e856d53417e Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 17 Jun 2010 20:15:58 +0000 Subject: Switch iPod 3G to use EABI toolchain. Make necessary threading changes to avoid use of stack after switching to idle stack. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26898 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/thread.h') diff --git a/firmware/export/thread.h b/firmware/export/thread.h index 8912283343..d907e5dc95 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h @@ -375,7 +375,7 @@ void thread_thaw(unsigned int thread_id); /* Wait for a thread to exit */ void thread_wait(unsigned int thread_id); /* Exit the current thread */ -void thread_exit(void); +void thread_exit(void) __attribute__((noreturn)); #if defined(DEBUG) || defined(ROCKBOX_HAS_LOGF) #define ALLOW_REMOVE_THREAD /* Remove a thread from the scheduler */ -- cgit v1.2.3