summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.h2
-rw-r--r--apps/plugins/rockboy/rockmacros.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e69ab52321..f025704f31 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -295,7 +295,7 @@ struct plugin_api {
295 295
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 (*PREFIX(close))(int fd);
299 ssize_t (*PREFIX(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);
diff --git a/apps/plugins/rockboy/rockmacros.h b/apps/plugins/rockboy/rockmacros.h
index 01beb43fb5..0e63bad8e9 100644
--- a/apps/plugins/rockboy/rockmacros.h
+++ b/apps/plugins/rockboy/rockmacros.h
@@ -75,7 +75,7 @@ void dynamic_recompile (struct dynarec_block *newblock);
75#undef lseek 75#undef lseek
76#define lseek(a,b,c) rb->sim_lseek((a),(b),(c)) 76#define lseek(a,b,c) rb->sim_lseek((a),(b),(c))
77#undef close 77#undef close
78#define close(a) rb->close((a)) 78#define close(a) rb->sim_close((a))
79#undef read 79#undef read
80#define read(a,b,c) rb->sim_read((a),(b),(c)) 80#define read(a,b,c) rb->sim_read((a),(b),(c))
81#undef write 81#undef write