summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-12-22 16:05:22 +0000
committerThomas Martitz <kugel@rockbox.org>2010-12-22 16:05:22 +0000
commita341646f2da268c534a3019ef30ed8434f1e9139 (patch)
treee5b7ef94e16c9b8521aeb6346b74b39d49ada1b2
parent9afb55ad95ba2a4a7b88176c6004c1bba67eaafa (diff)
downloadrockbox-a341646f2da268c534a3019ef30ed8434f1e9139.zip
rockbox-a341646f2da268c534a3019ef30ed8434f1e9139.tar.gz
rockbox-a341646f2da268c534a3019ef30ed8434f1e9139.tar.bz2
rockbox-a341646f2da268c534a3019ef30ed8434f1e9139.tar.xz
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28878 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index c778f2c..87c2d2d 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -375,8 +375,8 @@ unsigned int create_thread(void (*function)(void),
void trigger_cpu_boost(void);
void cancel_cpu_boost(void);
#else
-#define trigger_cpu_boost()
-#define cancel_cpu_boost()
+#define trigger_cpu_boost() do { } while(0)
+#define cancel_cpu_boost() do { } while(0)
#endif
/* Return thread entry from id */
struct thread_entry *thread_id_entry(unsigned int thread_id);