summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-02-25 13:26:49 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-02-25 13:26:49 +0000
commit9fefa39fbcfb66d5e4de7727c3ef3c88f19e3ba1 (patch)
tree81cc5ca0e3471d86426fc6558e33cba2a8af62e4 /uisimulator
parentf9c780ccc146fd883374f8f89c14c9ce5968ee51 (diff)
downloadrockbox-9fefa39fbcfb66d5e4de7727c3ef3c88f19e3ba1.tar.gz
rockbox-9fefa39fbcfb66d5e4de7727c3ef3c88f19e3ba1.tar.bz2
rockbox-9fefa39fbcfb66d5e4de7727c3ef3c88f19e3ba1.zip
Yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4315 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/kernel.c12
1 files 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)
{