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 | |
parent | e17abadfc911791d6846314586a4081823e9f9c4 (diff) | |
download | rockbox-e4e8220906be8ce057c0b9c6b70a97f191692142.tar.gz rockbox-e4e8220906be8ce057c0b9c6b70a97f191692142.zip |
clean simulator warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3879 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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 3d6859b0d3..47f226a84a 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -125,7 +125,11 @@ struct plugin_api { | |||
125 | /* file */ | 125 | /* file */ |
126 | int (*open)(const char* pathname, int flags); | 126 | int (*open)(const char* pathname, int flags); |
127 | int (*close)(int fd); | 127 | int (*close)(int fd); |
128 | #ifdef SIMULATOR | ||
129 | ssize_t (*read)(int fd, void* buf, int count); | ||
130 | #else | ||
128 | int (*read)(int fd, void* buf, int count); | 131 | int (*read)(int fd, void* buf, int count); |
132 | #endif | ||
129 | int (*lseek)(int fd, int offset, int whence); | 133 | int (*lseek)(int fd, int offset, int whence); |
130 | int (*creat)(const char *pathname, int mode); | 134 | int (*creat)(const char *pathname, int mode); |
131 | int (*write)(int fd, void* buf, int count); | 135 | int (*write)(int fd, void* buf, int count); |