diff options
| author | Robert Hak <adiamas@rockbox.org> | 2003-07-24 12:21:24 +0000 |
|---|---|---|
| committer | Robert Hak <adiamas@rockbox.org> | 2003-07-24 12:21:24 +0000 |
| commit | e4e8220906be8ce057c0b9c6b70a97f191692142 (patch) | |
| tree | eae1e8fdee2f5043457c2c6bd90bbc7a8eaa01dd /apps/plugin.h | |
| parent | e17abadfc911791d6846314586a4081823e9f9c4 (diff) | |
| download | rockbox-e4e8220906be8ce057c0b9c6b70a97f191692142.zip rockbox-e4e8220906be8ce057c0b9c6b70a97f191692142.tar.gz rockbox-e4e8220906be8ce057c0b9c6b70a97f191692142.tar.bz2 rockbox-e4e8220906be8ce057c0b9c6b70a97f191692142.tar.xz | |
clean simulator warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3879 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 3d6859b..47f226a 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -125,7 +125,11 @@ struct plugin_api { /* file */ int (*open)(const char* pathname, int flags); int (*close)(int fd); +#ifdef SIMULATOR + ssize_t (*read)(int fd, void* buf, int count); +#else int (*read)(int fd, void* buf, int count); +#endif int (*lseek)(int fd, int offset, int whence); int (*creat)(const char *pathname, int mode); int (*write)(int fd, void* buf, int count); |