summaryrefslogtreecommitdiff
path: root/firmware/export/fat.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r--firmware/export/fat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index 15511076e2..a0d52acc35 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -101,16 +101,16 @@ extern void fat_unlock(void);
101 101
102extern void fat_init(void); 102extern void fat_init(void);
103extern int fat_get_bytes_per_sector(IF_MV_NONVOID(int volume)); 103extern int fat_get_bytes_per_sector(IF_MV_NONVOID(int volume));
104extern int fat_mount(IF_MV2(int volume,) IF_MD2(int drive,) long startsector); 104extern int fat_mount(IF_MV(int volume,) IF_MD(int drive,) long startsector);
105extern int fat_unmount(int volume, bool flush); 105extern int fat_unmount(int volume, bool flush);
106extern void fat_size(IF_MV2(int volume,) /* public for info */ 106extern void fat_size(IF_MV(int volume,) /* public for info */
107 unsigned long* size, 107 unsigned long* size,
108 unsigned long* free); 108 unsigned long* free);
109extern void fat_recalc_free(IF_MV_NONVOID(int volume)); /* public for debug info screen */ 109extern void fat_recalc_free(IF_MV_NONVOID(int volume)); /* public for debug info screen */
110extern int fat_create_dir(const char* name, 110extern int fat_create_dir(const char* name,
111 struct fat_dir* newdir, 111 struct fat_dir* newdir,
112 struct fat_dir* dir); 112 struct fat_dir* dir);
113extern int fat_open(IF_MV2(int volume,) 113extern int fat_open(IF_MV(int volume,)
114 long cluster, 114 long cluster,
115 struct fat_file* ent, 115 struct fat_file* ent,
116 const struct fat_dir* dir); 116 const struct fat_dir* dir);
@@ -128,7 +128,7 @@ extern int fat_rename(struct fat_file* file,
128 const unsigned char* newname, 128 const unsigned char* newname,
129 long size, int attr); 129 long size, int attr);
130 130
131extern int fat_opendir(IF_MV2(int volume,) 131extern int fat_opendir(IF_MV(int volume,)
132 struct fat_dir *ent, unsigned long startcluster, 132 struct fat_dir *ent, unsigned long startcluster,
133 const struct fat_dir *parent_dir); 133 const struct fat_dir *parent_dir);
134extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); 134extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry);