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 c3e5a5b714..2580d43eb0 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -296,10 +296,10 @@ struct plugin_api { | |||
296 | /* file */ | 296 | /* file */ |
297 | int (*PREFIX(open))(const char* pathname, int flags); | 297 | int (*PREFIX(open))(const char* pathname, int flags); |
298 | int (*close)(int fd); | 298 | int (*close)(int fd); |
299 | ssize_t (*read)(int fd, void* buf, size_t count); | 299 | ssize_t (*PREFIX(read))(int fd, void* buf, size_t count); |
300 | off_t (*PREFIX(lseek))(int fd, off_t offset, int whence); | 300 | off_t (*PREFIX(lseek))(int fd, off_t offset, int whence); |
301 | int (*PREFIX(creat))(const char *pathname); | 301 | int (*PREFIX(creat))(const char *pathname); |
302 | ssize_t (*write)(int fd, const void* buf, size_t count); | 302 | ssize_t (*PREFIX(write))(int fd, const void* buf, size_t count); |
303 | int (*PREFIX(remove))(const char* pathname); | 303 | int (*PREFIX(remove))(const char* pathname); |
304 | int (*PREFIX(rename))(const char* path, const char* newname); | 304 | int (*PREFIX(rename))(const char* path, const char* newname); |
305 | int (*PREFIX(ftruncate))(int fd, off_t length); | 305 | int (*PREFIX(ftruncate))(int fd, off_t length); |