cosmetic: use the IF_MV2() macro for optional arguments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5521 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
575c9049f6
commit
2ab64c9152
1 changed files with 2 additions and 7 deletions
|
@ -609,9 +609,7 @@ static int send_single_sector(const unsigned char *buf, int timeout)
|
|||
}
|
||||
|
||||
int ata_read_sectors(
|
||||
#ifdef HAVE_MULTIVOLUME
|
||||
int drive,
|
||||
#endif
|
||||
IF_MV2(int drive,)
|
||||
unsigned long start,
|
||||
int incount,
|
||||
void* inbuf)
|
||||
|
@ -670,10 +668,7 @@ int ata_read_sectors(
|
|||
return ret;
|
||||
}
|
||||
|
||||
int ata_write_sectors(
|
||||
#ifdef HAVE_MULTIVOLUME
|
||||
int drive,
|
||||
#endif
|
||||
int ata_write_sectors(IF_MV2(int drive,)
|
||||
unsigned long start,
|
||||
int count,
|
||||
const void* buf)
|
||||
|
|
Loading…
Reference in a new issue