diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-08-13 13:21:55 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-13 13:21:55 +0000 |
commit | 113fffaa86ca105694dd4da28fc8685350aba947 (patch) | |
tree | f219a657d235d587d7436da80a725dc146c1a0fa /firmware/drivers/fat.h | |
parent | f6f3a1395ece444556583139d988657396bf8cb7 (diff) | |
download | rockbox-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.h | 1 |
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); | |||
66 | extern int fat_create_file(unsigned int currdir, char *name); | 66 | extern int fat_create_file(unsigned int currdir, char *name); |
67 | extern int fat_create_dir(unsigned int currdir, char *name); | 67 | extern int fat_create_dir(unsigned int currdir, char *name); |
68 | #endif | 68 | #endif |
69 | extern int fat_startsector(void); | ||
69 | extern int fat_open(unsigned int cluster, struct fat_file *ent); | 70 | extern int fat_open(unsigned int cluster, struct fat_file *ent); |
70 | extern int fat_read(struct fat_file *ent, int sectorcount, void* buf ); | 71 | extern int fat_read(struct fat_file *ent, int sectorcount, void* buf ); |
71 | extern int fat_seek(struct fat_file *ent, int sector ); | 72 | extern int fat_seek(struct fat_file *ent, int sector ); |