diff options
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index c3e5a5b..2580d43 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -296,10 +296,10 @@ struct plugin_api { /* file */ int (*PREFIX(open))(const char* pathname, int flags); int (*close)(int fd); - ssize_t (*read)(int fd, void* buf, size_t count); + ssize_t (*PREFIX(read))(int fd, void* buf, size_t count); off_t (*PREFIX(lseek))(int fd, off_t offset, int whence); int (*PREFIX(creat))(const char *pathname); - ssize_t (*write)(int fd, const void* buf, size_t count); + ssize_t (*PREFIX(write))(int fd, const void* buf, size_t count); int (*PREFIX(remove))(const char* pathname); int (*PREFIX(rename))(const char* path, const char* newname); int (*PREFIX(ftruncate))(int fd, off_t length); |