diff options
author | Robert Hak <adiamas@rockbox.org> | 2003-07-24 18:56:30 +0000 |
---|---|---|
committer | Robert Hak <adiamas@rockbox.org> | 2003-07-24 18:56:30 +0000 |
commit | c4ec0a2a3d6ba807fa39a844699bb555a6ef6964 (patch) | |
tree | 568401b4ec50520ff79366f777433e441d691933 /apps/plugin.h | |
parent | fe18ca56a5f63ced7221717c0e4f1805516c4846 (diff) | |
download | rockbox-c4ec0a2a3d6ba807fa39a844699bb555a6ef6964.tar.gz rockbox-c4ec0a2a3d6ba807fa39a844699bb555a6ef6964.zip |
#defining around each function is not a good idea after all
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3881 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 0 insertions, 4 deletions
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 { | |||
125 | /* file */ | 125 | /* file */ |
126 | int (*open)(const char* pathname, int flags); | 126 | int (*open)(const char* pathname, int flags); |
127 | int (*close)(int fd); | 127 | int (*close)(int fd); |
128 | #ifdef SIMULATOR | ||
129 | ssize_t (*read)(int fd, void* buf, int count); | ||
130 | #else | ||
131 | int (*read)(int fd, void* buf, int count); | 128 | int (*read)(int fd, void* buf, int count); |
132 | #endif | ||
133 | int (*lseek)(int fd, int offset, int whence); | 129 | int (*lseek)(int fd, int offset, int whence); |
134 | int (*creat)(const char *pathname, int mode); | 130 | int (*creat)(const char *pathname, int mode); |
135 | int (*write)(int fd, void* buf, int count); | 131 | int (*write)(int fd, void* buf, int count); |