summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2003-07-01 23:39:05 +0000
committerHardeep Sidhu <dyp@pobox.com>2003-07-01 23:39:05 +0000
commit730986a898c2be54c694f7314ea354f9fae7f357 (patch)
treef20dc2c4576a6cbe598046e2e41bca5007b1d1a0 /uisimulator
parent9e4262081b4ab5bad2e2708ea064643cf828685c (diff)
downloadrockbox-730986a898c2be54c694f7314ea354f9fae7f357.tar.gz
rockbox-730986a898c2be54c694f7314ea354f9fae7f357.tar.bz2
rockbox-730986a898c2be54c694f7314ea354f9fae7f357.zip
Fixed simulator warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3797 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/file.h4
-rw-r--r--uisimulator/win32/kernel.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/uisimulator/win32/file.h b/uisimulator/win32/file.h
index 1ba4e222cb..e5a94b8db9 100644
--- a/uisimulator/win32/file.h
+++ b/uisimulator/win32/file.h
@@ -24,6 +24,10 @@
#include <fcntl.h>
#endif
+#ifndef _commit
+extern int _commit( int handle );
+#endif
+
int win32_rename(char *oldpath, char *newpath);
int win32_filesize(int fd);
diff --git a/uisimulator/win32/kernel.c b/uisimulator/win32/kernel.c
index f2a9dbbb59..7aac99f84a 100644
--- a/uisimulator/win32/kernel.c
+++ b/uisimulator/win32/kernel.c
@@ -104,14 +104,18 @@ int set_irq_level (int level)
return (_lv = level);
}
+/* TODO: Implement mutexes for win32 */
void mutex_init(struct mutex *m)
{
+ (void)m;
}
void mutex_lock(struct mutex *m)
{
+ (void)m;
}
void mutex_unlock(struct mutex *m)
{
+ (void)m;
}