fat: Fix implicit declaration of of sdmmc_sd_startup()

This symbol is not exported by libnds, so it needs to be defined in
this file to fix Wimplicit-function-declaration, which is now an error
in GCC 14.
This commit is contained in:
Peter0x44 2024-10-29 17:01:05 +00:00 committed by lifehackerhansol
parent 7e39f1f572
commit 981575da67
No known key found for this signature in database
GPG Key ID: 80FB184AFC0B3B0E

View File

@ -35,6 +35,8 @@ extern FN_MEDIUM_READSECTORS _DLDI_readSectors_ptr;
/* Inidialize a Drive */
/*-----------------------------------------------------------------------*/
void sdmmc_sd_startup();
DSTATUS disk_initialize (
BYTE pdrv /* Physical drive nmuber to identify the drive */
)