diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 47f226a84a..3d6859b0d3 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -125,11 +125,7 @@ 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 | ||
131 | int (*read)(int fd, void* buf, int count); | 128 | int (*read)(int fd, void* buf, int count); |
132 | #endif | ||
133 | int (*lseek)(int fd, int offset, int whence); | 129 | int (*lseek)(int fd, int offset, int whence); |
134 | int (*creat)(const char *pathname, int mode); | 130 | int (*creat)(const char *pathname, int mode); |
135 | int (*write)(int fd, void* buf, int count); | 131 | int (*write)(int fd, void* buf, int count); |