Removed some X11 simulator warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4524 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-04-20 11:08:07 +00:00
parent 2632625681
commit 6cc6e8b9c4
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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;