forked from len0rd/rockbox
More red fixes:
* hostfs_removeable()/present() needed IF_MDVOID() in their prototypes * SIM_EXT_INSERTED/EXTRACTED are gated by HAVE_HOTSWAP Change-Id: Id8c688f3538db99586a4f5062c83466374451883
This commit is contained in:
parent
5a2bd580cd
commit
60c3fdbc11
3 changed files with 6 additions and 6 deletions
|
@ -37,8 +37,8 @@ extern int hostfs_init(void);
|
|||
extern int hostfs_flush(void);
|
||||
|
||||
#ifdef HAVE_HOTSWAP
|
||||
extern bool hostfs_removable(int drive);
|
||||
extern bool hostfs_present(int drive);
|
||||
extern bool hostfs_removable(IF_MD_NONVOID(int drive));
|
||||
extern bool hostfs_present(IF_MD_NONVOID(int drive));
|
||||
#endif
|
||||
|
||||
/* This has to be repeated here for now for sim's sake since HAVE_HOSTFS
|
||||
|
|
|
@ -45,7 +45,7 @@ enum {
|
|||
SIM_SCREENDUMP,
|
||||
SIM_USB_INSERTED,
|
||||
SIM_USB_EXTRACTED,
|
||||
#ifdef HAVE_MULTIDRIVE
|
||||
#ifdef HAVE_HOTSWAP
|
||||
SIM_EXT_INSERTED,
|
||||
SIM_EXT_EXTRACTED,
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue