From 18d5d30c1c7aa62adb376025be60da792b8db2ca Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 20 Apr 2004 10:15:39 +0000 Subject: Better POSIX compatibility for mkdir(), rmdir() and opendir() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4521 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/dir.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware/include') diff --git a/firmware/include/dir.h b/firmware/include/dir.h index 7de0276840..ae0aa29cff 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h @@ -71,10 +71,10 @@ typedef struct DIRtag #ifndef DIRFUNCTIONS_DEFINED -extern DIR* opendir(char* name); +extern DIR* opendir(const char* name); extern int closedir(DIR* dir); -extern int mkdir(char* name, int mode); -extern int rmdir(char* name); +extern int mkdir(const char* name, int mode); +extern int rmdir(const char* name); extern struct dirent* readdir(DIR* dir); -- cgit v1.2.3