#defining around each function is not a good idea after all

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3881 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Hak 2003-07-24 18:56:30 +00:00
parent fe18ca56a5
commit c4ec0a2a3d

View file

@ -125,11 +125,7 @@ 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);