Fixed simulator warnings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3797 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Hardeep Sidhu 2003-07-01 23:39:05 +00:00
parent 9e4262081b
commit 730986a898
2 changed files with 8 additions and 0 deletions

View file

@ -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);

View file

@ -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;
}