clean simulator warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3879 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Hak 2003-07-24 12:21:24 +00:00
parent e17abadfc9
commit e4e8220906

View file

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