summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-04-20 10:15:39 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-04-20 10:15:39 +0000
commit18d5d30c1c7aa62adb376025be60da792b8db2ca (patch)
treedee54ddb6417ed051ea48bc2e8ce2178bd35ca0a /firmware/include
parent6afe39370699a8e01374e464decb070fdec6f7a6 (diff)
Better POSIX compatibility for mkdir(), rmdir() and opendir()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4521 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/dir.h6
1 files changed, 3 insertions, 3 deletions
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);