summaryrefslogtreecommitdiffstats
path: root/firmware/common/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/dir.c')
-rw-r--r--firmware/common/dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c
index 6ca3a76e3b..27666d26e9 100644
--- a/firmware/common/dir.c
+++ b/firmware/common/dir.c
@@ -28,7 +28,7 @@
static DIR opendirs[MAX_OPEN_DIRS];
-DIR* opendir(char* name)
+DIR* opendir(const char* name)
{
char namecopy[MAX_PATH];
char* part;
@@ -117,7 +117,7 @@ struct dirent* readdir(DIR* dir)
return theent;
}
-int mkdir(char *name, int mode)
+int mkdir(const char *name, int mode)
{
DIR *dir;
char namecopy[MAX_PATH];
@@ -182,7 +182,7 @@ int mkdir(char *name, int mode)
return rc;
}
-int rmdir(char* name)
+int rmdir(const char* name)
{
int rc;
DIR* dir;