diff options
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r-- | firmware/drivers/fat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h index 907f7b326f..7f014a8aa1 100644 --- a/firmware/drivers/fat.h +++ b/firmware/drivers/fat.h | |||
@@ -100,12 +100,16 @@ struct fat_fileent | |||
100 | int sectornum; /* sector number in this cluster */ | 100 | int sectornum; /* sector number in this cluster */ |
101 | }; | 101 | }; |
102 | 102 | ||
103 | extern int fat_mount(struct bpb *bpb); | ||
104 | |||
105 | #ifdef DISK_WRITE | ||
103 | extern int fat_create_file(struct bpb *bpb, | 106 | extern int fat_create_file(struct bpb *bpb, |
104 | unsigned int currdir, | 107 | unsigned int currdir, |
105 | char *name); | 108 | char *name); |
106 | extern int fat_create_dir(struct bpb *bpb, | 109 | extern int fat_create_dir(struct bpb *bpb, |
107 | unsigned int currdir, | 110 | unsigned int currdir, |
108 | char *name); | 111 | char *name); |
112 | #endif | ||
109 | extern int fat_open(struct bpb *bpb, | 113 | extern int fat_open(struct bpb *bpb, |
110 | unsigned int cluster, | 114 | unsigned int cluster, |
111 | struct fat_fileent *ent); | 115 | struct fat_fileent *ent); |