this compiles better

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3267 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2003-02-14 23:50:17 +00:00
parent c97056d9ed
commit 603975b4a2

View file

@ -17,6 +17,9 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef ROCKBOX_FILE_H
#define ROCKBOX_FILE_H
#include <stdio.h> #include <stdio.h>
#include <sys/types.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 open(char* pathname, int flags);
extern int close(int fd); 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, ...); 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