mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 05:35:20 -05:00
Fixed simulator warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3797 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9e4262081b
commit
730986a898
2 changed files with 8 additions and 0 deletions
|
|
@ -24,6 +24,10 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _commit
|
||||||
|
extern int _commit( int handle );
|
||||||
|
#endif
|
||||||
|
|
||||||
int win32_rename(char *oldpath, char *newpath);
|
int win32_rename(char *oldpath, char *newpath);
|
||||||
int win32_filesize(int fd);
|
int win32_filesize(int fd);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -104,14 +104,18 @@ int set_irq_level (int level)
|
||||||
return (_lv = level);
|
return (_lv = level);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* TODO: Implement mutexes for win32 */
|
||||||
void mutex_init(struct mutex *m)
|
void mutex_init(struct mutex *m)
|
||||||
{
|
{
|
||||||
|
(void)m;
|
||||||
}
|
}
|
||||||
|
|
||||||
void mutex_lock(struct mutex *m)
|
void mutex_lock(struct mutex *m)
|
||||||
{
|
{
|
||||||
|
(void)m;
|
||||||
}
|
}
|
||||||
|
|
||||||
void mutex_unlock(struct mutex *m)
|
void mutex_unlock(struct mutex *m)
|
||||||
{
|
{
|
||||||
|
(void)m;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue