From 603975b4a20da16a2a67cc0e2a8e13f3305ad43d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 14 Feb 2003 23:50:17 +0000 Subject: this compiles better git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3267 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/file.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'uisimulator') diff --git a/uisimulator/x11/file.h b/uisimulator/x11/file.h index 12fffe05f6..ff8d4af451 100644 --- a/uisimulator/x11/file.h +++ b/uisimulator/x11/file.h @@ -17,6 +17,9 @@ * ****************************************************************************/ +#ifndef ROCKBOX_FILE_H +#define ROCKBOX_FILE_H + #include #include @@ -36,7 +39,9 @@ int x11_rename(char *oldpath, char *newpath); extern int open(char* pathname, int flags); extern int close(int fd); -extern int read(int fd, void* buf, int count); -extern int write(int fd, void* buf, int count); -extern int lseek(int fd, int offset, int whence); extern int printf(const char *format, ...); + +off_t lseek(int fildes, off_t offset, int whence); +ssize_t read(int fd, void *buf, size_t count); + +#endif -- cgit v1.2.3