summaryrefslogtreecommitdiffstats
path: root/firmware/include
diff options
context:
space:
mode:
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);