summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-10-09 15:37:43 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-10-09 15:37:43 +0000
commitb8eb2a89ad911df3c236b95b9eb3cc365a1f8e09 (patch)
tree99f05d27e71e63db256b18d6d4f05bc3bc9779df /apps
parentef9abe438573dde2e059e6f7ba50933c4eddffc6 (diff)
Oops. Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15046 a1c6a512-1295-4272-9138-f99709370657
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 {
/* file */
int (*PREFIX(open))(const char* pathname, int flags);
- int (*close)(int fd);
+ int (*PREFIX(close))(int fd);
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);
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);
#undef lseek
#define lseek(a,b,c) rb->sim_lseek((a),(b),(c))
#undef close
-#define close(a) rb->close((a))
+#define close(a) rb->sim_close((a))
#undef read
#define read(a,b,c) rb->sim_read((a),(b),(c))
#undef write