summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-02-14 23:50:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-02-14 23:50:17 +0000
commit603975b4a20da16a2a67cc0e2a8e13f3305ad43d (patch)
treea1d83e1ba5760fcd7bb43d6c135906ed50edc8d2 /uisimulator
parentc97056d9edbbb0fb84af318f46717f67dbf667bb (diff)
this compiles better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3267 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/x11/file.h11
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