diff options
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/x11/file.h | 11 |
1 files changed, 8 insertions, 3 deletions
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 <stdio.h> #include <sys/types.h> @@ -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 |