mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Resolve various "no previous declaration" warnings
This commit is contained in:
parent
2288ba28ae
commit
49a84cbc4c
4 changed files with 22 additions and 18 deletions
|
@ -195,6 +195,7 @@ extern "C" DWORD get_fattime(void)
|
|||
return static_cast<DWORD>(s_callbacks->GetCurrentTimeFAT());
|
||||
}
|
||||
|
||||
#if FF_USE_LFN == 3 // match ff.h; currently unused by Dolphin
|
||||
extern "C" void* ff_memalloc(UINT msize)
|
||||
{
|
||||
return std::malloc(msize);
|
||||
|
@ -204,7 +205,9 @@ extern "C" void ff_memfree(void* mblock)
|
|||
{
|
||||
return std::free(mblock);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if FF_FS_REENTRANT
|
||||
extern "C" int ff_cre_syncobj(BYTE vol, FF_SYNC_t* sobj)
|
||||
{
|
||||
*sobj = new std::recursive_mutex();
|
||||
|
@ -229,6 +232,7 @@ extern "C" int ff_del_syncobj(FF_SYNC_t sobj)
|
|||
delete reinterpret_cast<std::recursive_mutex*>(sobj);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static const char* FatFsErrorToString(FRESULT error_code)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue