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 { /* 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);