mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-19 10:02:45 -05:00
this compiles better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3267 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c97056d9ed
commit
603975b4a2
1 changed files with 8 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue