diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-02-28 18:32:57 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-02-28 18:32:57 +0000 |
| commit | 399c081f939943f8a9b3f967fed6fd333a23ce22 (patch) | |
| tree | c547873bda201c42a72bf12d91eb0f2962734d37 /apps/plugin.h | |
| parent | 00dd42a7135e4cadf49158e97ded8f9357941044 (diff) | |
| download | rockbox-399c081f939943f8a9b3f967fed6fd333a23ce22.zip rockbox-399c081f939943f8a9b3f967fed6fd333a23ce22.tar.gz rockbox-399c081f939943f8a9b3f967fed6fd333a23ce22.tar.bz2 rockbox-399c081f939943f8a9b3f967fed6fd333a23ce22.tar.xz | |
Simulators: lseek() working again for systems with an off_t datatype differing from 'long' (cygwin/x11, maybe others). Removed unused sim_close().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6084 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index ed34d9a..76f31c3 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -177,7 +177,7 @@ struct plugin_api { int (*PREFIX(open))(const char* pathname, int flags); int (*close)(int fd); ssize_t (*read)(int fd, void* buf, size_t count); - off_t (*lseek)(int fd, off_t offset, int whence); + off_t (*PREFIX(lseek))(int fd, off_t offset, int whence); int (*PREFIX(creat))(const char *pathname, mode_t mode); ssize_t (*write)(int fd, const void* buf, size_t count); int (*PREFIX(remove))(const char* pathname); |