diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-05-30 19:49:15 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-30 19:49:15 +0000 |
commit | eacbef9466197fe4b4344fc51a0e31dc19cbcb05 (patch) | |
tree | 6ae8b33988cf1888e709408b4ebfa0015b83cc5f /firmware | |
parent | 827cee37d7c005fc7a0f608c1f2b9ea4d3c4f360 (diff) | |
download | rockbox-eacbef9466197fe4b4344fc51a0e31dc19cbcb05.tar.gz rockbox-eacbef9466197fe4b4344fc51a0e31dc19cbcb05.zip |
Umm, bpb must be static to be local :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@833 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/fat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index 91019faf0e..cb1a3c1a8f 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c | |||
@@ -155,7 +155,7 @@ struct bpb | |||
155 | int startsector; | 155 | int startsector; |
156 | }; | 156 | }; |
157 | 157 | ||
158 | struct bpb fat_bpb; | 158 | static struct bpb fat_bpb; |
159 | 159 | ||
160 | static int first_sector_of_cluster(int cluster); | 160 | static int first_sector_of_cluster(int cluster); |
161 | static int bpb_is_sane(void); | 161 | static int bpb_is_sane(void); |
@@ -167,9 +167,6 @@ static unsigned int getcurrdostime(unsigned short *dosdate, | |||
167 | static int create_dos_name(unsigned char *name, unsigned char *newname); | 167 | static int create_dos_name(unsigned char *name, unsigned char *newname); |
168 | #endif | 168 | #endif |
169 | 169 | ||
170 | /* global FAT info struct */ | ||
171 | struct bpb fat_bpb; | ||
172 | |||
173 | #define FAT_CACHE_SIZE 0x20 | 170 | #define FAT_CACHE_SIZE 0x20 |
174 | #define FAT_CACHE_MASK (FAT_CACHE_SIZE-1) | 171 | #define FAT_CACHE_MASK (FAT_CACHE_SIZE-1) |
175 | 172 | ||