crt: crtdll_compat: Add missing __cdecl signature for __GetMainArgs()

Signed-off-by: LIU Hao <lh_mouse@126.com>
This commit is contained in:
Pali Rohár 2022-04-03 16:28:23 +02:00 committed by LIU Hao
parent 886cea926f
commit 38238df8f5

View File

@ -7,7 +7,7 @@
#include <internal.h>
/* Define __getmainargs() function via crtdll.dll __GetMainArgs() function */
extern void __GetMainArgs(int *argc, char ***argv, char ***envp, int expand_wildcards);
extern void __cdecl __GetMainArgs(int *argc, char ***argv, char ***envp, int expand_wildcards);
int __cdecl __getmainargs(int *argc, char ***argv, char ***envp, int expand_wildcards, __UNUSED_PARAM(_startupinfo *startup_info))
{
__GetMainArgs(argc, argv, envp, expand_wildcards);