From 7e0201558bf15b826d921be440862d79ba09444e Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 9 Mar 2007 08:17:05 +0000 Subject: Back to green? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12690 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/thread.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/export/thread.h b/firmware/export/thread.h index 7a9414c..1b68506 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h @@ -159,8 +159,7 @@ int thread_get_priority(struct thread_entry *thread); without altering the scheduler's thread precedence. */ void priority_yield(void); #else -static inline void priority_yield(void) - { yield(); } +#define priority_yield yield #endif /* HAVE_PRIORITY_SCHEDULING */ struct thread_entry * thread_get_current(void); void init_threads(void); -- cgit v1.1