diff options
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/x11/file.h | 2 | ||||
-rw-r--r-- | uisimulator/x11/io.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/x11/file.h b/uisimulator/x11/file.h index 7212692907..b30167ecbd 100644 --- a/uisimulator/x11/file.h +++ b/uisimulator/x11/file.h | |||
@@ -26,7 +26,7 @@ | |||
26 | int x11_open(const char *name, int opts); | 26 | int x11_open(const char *name, int opts); |
27 | int x11_close(int fd); | 27 | int x11_close(int fd); |
28 | int x11_filesize(int fd); | 28 | int x11_filesize(int fd); |
29 | int x11_creat(char *name, int mode); | 29 | int x11_creat(const char *name, mode_t mode); |
30 | int x11_remove(char *name); | 30 | int x11_remove(char *name); |
31 | int x11_rename(char *oldpath, char *newpath); | 31 | int x11_rename(char *oldpath, char *newpath); |
32 | 32 | ||
diff --git a/uisimulator/x11/io.c b/uisimulator/x11/io.c index 6fc82cc6f7..14d2bfa2c0 100644 --- a/uisimulator/x11/io.c +++ b/uisimulator/x11/io.c | |||
@@ -120,7 +120,7 @@ int x11_close(int fd) | |||
120 | return (close)(fd); | 120 | return (close)(fd); |
121 | } | 121 | } |
122 | 122 | ||
123 | int x11_creat(char *name, int mode) | 123 | int x11_creat(const char *name, mode_t mode) |
124 | { | 124 | { |
125 | char buffer[256]; /* sufficiently big */ | 125 | char buffer[256]; /* sufficiently big */ |
126 | (void)mode; | 126 | (void)mode; |