summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r--firmware/drivers/fat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h
index 8d2382f..6a3e5cf 100644
--- a/firmware/drivers/fat.h
+++ b/firmware/drivers/fat.h
@@ -81,13 +81,13 @@ extern int fat_create_file(char* name,
struct fat_dir* dir);
extern int fat_readwrite(struct fat_file *ent, int sectorcount,
void* buf, bool write );
-extern int fat_closewrite(struct fat_file *ent, int size);
+extern int fat_closewrite(struct fat_file *ent, int size, int attr);
extern int fat_seek(struct fat_file *ent, unsigned int sector );
extern int fat_remove(struct fat_file *ent);
extern int fat_truncate(struct fat_file *ent);
extern int fat_rename(struct fat_file* file,
unsigned char* newname,
- int size);
+ int size, int attr);
extern int fat_opendir(struct fat_dir *ent, unsigned int currdir);
extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry);