mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Make disk_init() non-static again. I forgot to look at the bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26629 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
28833f09e2
commit
d39ac31877
2 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,7 @@ static struct mutex disk_mutex;
|
||||||
int disk_sector_multiplier = 1;
|
int disk_sector_multiplier = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct partinfo* disk_init(IF_MD_NONVOID(int drive))
|
struct partinfo* disk_init(IF_MD_NONVOID(int drive))
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
unsigned char sector[SECTOR_SIZE];
|
unsigned char sector[SECTOR_SIZE];
|
||||||
|
|
|
@ -35,6 +35,7 @@ struct partinfo {
|
||||||
#define PARTITION_TYPE_OS2_HIDDEN_C_DRIVE 0x84
|
#define PARTITION_TYPE_OS2_HIDDEN_C_DRIVE 0x84
|
||||||
|
|
||||||
/* returns a pointer to an array of 8 partinfo structs */
|
/* returns a pointer to an array of 8 partinfo structs */
|
||||||
|
struct partinfo* disk_init(IF_MD_NONVOID(int drive));
|
||||||
struct partinfo* disk_partinfo(int partition);
|
struct partinfo* disk_partinfo(int partition);
|
||||||
|
|
||||||
void disk_init_subsystem(void); /* Initialises mutexes */
|
void disk_init_subsystem(void); /* Initialises mutexes */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue