summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-03-09 08:17:05 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-03-09 08:17:05 +0000
commit7e0201558bf15b826d921be440862d79ba09444e (patch)
tree42b45047d84d96ce5549358079277ff17b59ff90
parent178afc9cafdf776831fdc7ca1357c8cb80b67699 (diff)
downloadrockbox-7e0201558bf15b826d921be440862d79ba09444e.zip
rockbox-7e0201558bf15b826d921be440862d79ba09444e.tar.gz
rockbox-7e0201558bf15b826d921be440862d79ba09444e.tar.bz2
rockbox-7e0201558bf15b826d921be440862d79ba09444e.tar.xz
Back to green?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12690 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/thread.h3
1 files changed, 1 insertions, 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);