From 9fefa39fbcfb66d5e4de7727c3ef3c88f19e3ba1 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 25 Feb 2004 13:26:49 +0000 Subject: [PATCH] Yellow build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4315 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/win32/kernel.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/uisimulator/win32/kernel.c b/uisimulator/win32/kernel.c index 7aac99f84a..466950eba0 100644 --- a/uisimulator/win32/kernel.c +++ b/uisimulator/win32/kernel.c @@ -28,6 +28,12 @@ If it does, we should put this within #ifdef __MINGW32__ */ int errno; +int set_irq_level (int level) +{ + static int _lv = 0; + return (_lv = level); +} + void sleep(int ticks) { Sleep (1000 / HZ * ticks); @@ -98,12 +104,6 @@ void switch_thread (void) yield (); } -int set_irq_level (int level) -{ - static int _lv = 0; - return (_lv = level); -} - /* TODO: Implement mutexes for win32 */ void mutex_init(struct mutex *m) {