summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-08-13 13:21:55 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-08-13 13:21:55 +0000
commit113fffaa86ca105694dd4da28fc8685350aba947 (patch)
treef219a657d235d587d7436da80a725dc146c1a0fa /firmware/drivers/fat.h
parentf6f3a1395ece444556583139d988657396bf8cb7 (diff)
downloadrockbox-113fffaa86ca105694dd4da28fc8685350aba947.tar.gz
rockbox-113fffaa86ca105694dd4da28fc8685350aba947.zip
Don't save settings on disk if it has no partition table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r--firmware/drivers/fat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h
index 844864d88b..836d5c6866 100644
--- a/firmware/drivers/fat.h
+++ b/firmware/drivers/fat.h
@@ -66,6 +66,7 @@ extern int fat_mount(int startsector);
66extern int fat_create_file(unsigned int currdir, char *name); 66extern int fat_create_file(unsigned int currdir, char *name);
67extern int fat_create_dir(unsigned int currdir, char *name); 67extern int fat_create_dir(unsigned int currdir, char *name);
68#endif 68#endif
69extern int fat_startsector(void);
69extern int fat_open(unsigned int cluster, struct fat_file *ent); 70extern int fat_open(unsigned int cluster, struct fat_file *ent);
70extern int fat_read(struct fat_file *ent, int sectorcount, void* buf ); 71extern int fat_read(struct fat_file *ent, int sectorcount, void* buf );
71extern int fat_seek(struct fat_file *ent, int sector ); 72extern int fat_seek(struct fat_file *ent, int sector );