Umm, bpb must be static to be local :)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@833 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-05-30 19:49:15 +00:00
parent 827cee37d7
commit eacbef9466

View file

@ -155,7 +155,7 @@ struct bpb
int startsector;
};
struct bpb fat_bpb;
static struct bpb fat_bpb;
static int first_sector_of_cluster(int cluster);
static int bpb_is_sane(void);
@ -167,9 +167,6 @@ static unsigned int getcurrdostime(unsigned short *dosdate,
static int create_dos_name(unsigned char *name, unsigned char *newname);
#endif
/* global FAT info struct */
struct bpb fat_bpb;
#define FAT_CACHE_SIZE 0x20
#define FAT_CACHE_MASK (FAT_CACHE_SIZE-1)