Quiet the compiler complaining about RARGetDLLVersion, specficially "function declaration isn't a prototype"

This commit is contained in:
Robert McGovern 2022-04-18 11:53:30 +01:00
parent 072130be6a
commit 9c7124e283
2 changed files with 2 additions and 2 deletions

View File

@ -463,7 +463,7 @@ void PASCAL RARSetPassword(HANDLE hArcData,char *Password)
}
int PASCAL RARGetDllVersion()
int PASCAL RARGetDllVersion(void)
{
return RAR_DLL_VERSION;
}

View File

@ -178,7 +178,7 @@ void PASCAL RARSetCallback(HANDLE hArcData,UNRARCALLBACK Callback,LPARAM UserD
void PASCAL RARSetChangeVolProc(HANDLE hArcData,CHANGEVOLPROC ChangeVolProc);
void PASCAL RARSetProcessDataProc(HANDLE hArcData,PROCESSDATAPROC ProcessDataProc);
void PASCAL RARSetPassword(HANDLE hArcData,char *Password);
int PASCAL RARGetDllVersion();
int PASCAL RARGetDllVersion(void);
#ifdef __cplusplus
}