mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
my take at fixing the simulator warnings by adding mode_t, size_t, ssize_t
and off_t git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4116 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8b813d0b99
commit
ae960a9ece
5 changed files with 43 additions and 19 deletions
|
|
@ -26,7 +26,7 @@
|
|||
int x11_open(const char *name, int opts);
|
||||
int x11_close(int fd);
|
||||
int x11_filesize(int fd);
|
||||
int x11_creat(char *name, int mode);
|
||||
int x11_creat(const char *name, mode_t mode);
|
||||
int x11_remove(char *name);
|
||||
int x11_rename(char *oldpath, char *newpath);
|
||||
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ int x11_close(int fd)
|
|||
return (close)(fd);
|
||||
}
|
||||
|
||||
int x11_creat(char *name, int mode)
|
||||
int x11_creat(const char *name, mode_t mode)
|
||||
{
|
||||
char buffer[256]; /* sufficiently big */
|
||||
(void)mode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue