clean simulator warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3879 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e17abadfc9
commit
e4e8220906
1 changed files with 4 additions and 0 deletions
|
@ -125,7 +125,11 @@ struct plugin_api {
|
||||||
/* file */
|
/* file */
|
||||||
int (*open)(const char* pathname, int flags);
|
int (*open)(const char* pathname, int flags);
|
||||||
int (*close)(int fd);
|
int (*close)(int fd);
|
||||||
|
#ifdef SIMULATOR
|
||||||
|
ssize_t (*read)(int fd, void* buf, int count);
|
||||||
|
#else
|
||||||
int (*read)(int fd, void* buf, int count);
|
int (*read)(int fd, void* buf, int count);
|
||||||
|
#endif
|
||||||
int (*lseek)(int fd, int offset, int whence);
|
int (*lseek)(int fd, int offset, int whence);
|
||||||
int (*creat)(const char *pathname, int mode);
|
int (*creat)(const char *pathname, int mode);
|
||||||
int (*write)(int fd, void* buf, int count);
|
int (*write)(int fd, void* buf, int count);
|
||||||
|
|
Loading…
Reference in a new issue