diff options
Diffstat (limited to 'firmware/target/hosted/ypr0/dir-target.h')
-rw-r--r-- | firmware/target/hosted/ypr0/dir-target.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/firmware/target/hosted/ypr0/dir-target.h b/firmware/target/hosted/ypr0/dir-target.h index 48859526df..7df9554e92 100644 --- a/firmware/target/hosted/ypr0/dir-target.h +++ b/firmware/target/hosted/ypr0/dir-target.h | |||
@@ -35,16 +35,9 @@ extern int rmdir(const char* name); | |||
35 | #define mkdir_uncached _mkdir | 35 | #define mkdir_uncached _mkdir |
36 | #define rmdir_uncached rmdir | 36 | #define rmdir_uncached rmdir |
37 | 37 | ||
38 | #define dirent_ypr0 dirent | ||
39 | #define DIR_ypr0 DIR | ||
40 | #define opendir_ypr0 _opendir | ||
41 | #define readdir_ypr0 _readdir | ||
42 | #define closedir_ypr0 _closedir | ||
43 | #define mkdir_ypr0 _mkdir | ||
44 | #define rmdir_ypr0 rmdir | ||
45 | |||
46 | extern DIR* _opendir(const char* name); | 38 | extern DIR* _opendir(const char* name); |
47 | extern int _mkdir(const char* name); | 39 | extern int _mkdir(const char* name); |
40 | extern int _rmdir(const char* name); | ||
48 | extern int _closedir(DIR* dir); | 41 | extern int _closedir(DIR* dir); |
49 | extern struct dirent *_readdir(DIR* dir); | 42 | extern struct dirent *_readdir(DIR* dir); |
50 | extern void fat_size(unsigned long *size, unsigned long *free); | 43 | extern void fat_size(unsigned long *size, unsigned long *free); |