summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/file.h')
-rw-r--r--uisimulator/x11/file.h2
1 files changed, 1 insertions, 1 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 @@
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);