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 47f226a..3d6859b 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -125,11 +125,7 @@ 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); |