summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-04-20 11:08:07 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-04-20 11:08:07 +0000
commit6cc6e8b9c44beb4811b3d57c270632b84e380172 (patch)
tree5ebc431f671683a8f71255856cbb6a0498d589f4 /uisimulator
parent2632625681dd4740090c651cef645be142fa39f3 (diff)
downloadrockbox-6cc6e8b9c44beb4811b3d57c270632b84e380172.tar.gz
rockbox-6cc6e8b9c44beb4811b3d57c270632b84e380172.tar.bz2
rockbox-6cc6e8b9c44beb4811b3d57c270632b84e380172.zip
Removed some X11 simulator warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4524 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/x11/dir.h2
-rw-r--r--uisimulator/x11/io.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/x11/dir.h b/uisimulator/x11/dir.h
index 662ed17359..48696c23b8 100644
--- a/uisimulator/x11/dir.h
+++ b/uisimulator/x11/dir.h
@@ -29,7 +29,7 @@ typedef void DIR;
typedef void * MYDIR;
-extern MYDIR *x11_opendir(char *name);
+extern MYDIR *x11_opendir(const char *name);
extern struct x11_dirent* x11_readdir(MYDIR* dir);
extern int x11_closedir(MYDIR *dir);
extern int x11_mkdir(char *name, int mode);
diff --git a/uisimulator/x11/io.c b/uisimulator/x11/io.c
index faccc826a7..d4d2714026 100644
--- a/uisimulator/x11/io.c
+++ b/uisimulator/x11/io.c
@@ -47,7 +47,7 @@ struct mydir {
typedef struct mydir MYDIR;
-MYDIR *x11_opendir(char *name)
+MYDIR *x11_opendir(const char *name)
{
char buffer[256]; /* sufficiently big */
DIR *dir;