msvcrt20: Explicitly specify CDECL calling convention on exported functions.
This commit is contained in:
parent
40cbe19e49
commit
f278f534c1
|
@ -23,9 +23,9 @@
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
|
|
||||||
extern void __getmainargs(int *argc, char** *argv, char** *envp,
|
extern void CDECL __getmainargs(int *argc, char** *argv, char** *envp,
|
||||||
int expand_wildcards, int *new_mode);
|
int expand_wildcards, int *new_mode);
|
||||||
extern void __wgetmainargs(int *argc, WCHAR** *wargv, WCHAR** *wenvp,
|
extern void CDECL __wgetmainargs(int *argc, WCHAR** *wargv, WCHAR** *wenvp,
|
||||||
int expand_wildcards, int *new_mode);
|
int expand_wildcards, int *new_mode);
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
@ -33,7 +33,7 @@ extern void __wgetmainargs(int *argc, WCHAR** *wargv, WCHAR** *wenvp,
|
||||||
*
|
*
|
||||||
* new_mode is not a pointer in msvcrt20.
|
* new_mode is not a pointer in msvcrt20.
|
||||||
*/
|
*/
|
||||||
void MSVCRT20__getmainargs( int *argc, char** *argv, char** *envp,
|
void CDECL MSVCRT20__getmainargs( int *argc, char** *argv, char** *envp,
|
||||||
int expand_wildcards, int new_mode )
|
int expand_wildcards, int new_mode )
|
||||||
{
|
{
|
||||||
__getmainargs( argc, argv, envp, expand_wildcards, &new_mode );
|
__getmainargs( argc, argv, envp, expand_wildcards, &new_mode );
|
||||||
|
@ -44,7 +44,7 @@ void MSVCRT20__getmainargs( int *argc, char** *argv, char** *envp,
|
||||||
*
|
*
|
||||||
* new_mode is not a pointer in msvcrt20.
|
* new_mode is not a pointer in msvcrt20.
|
||||||
*/
|
*/
|
||||||
void MSVCRT20__wgetmainargs( int *argc, WCHAR** *wargv, WCHAR** *wenvp,
|
void CDECL MSVCRT20__wgetmainargs( int *argc, WCHAR** *wargv, WCHAR** *wenvp,
|
||||||
int expand_wildcards, int new_mode )
|
int expand_wildcards, int new_mode )
|
||||||
{
|
{
|
||||||
__wgetmainargs( argc, wargv, wenvp, expand_wildcards, &new_mode );
|
__wgetmainargs( argc, wargv, wenvp, expand_wildcards, &new_mode );
|
||||||
|
|
Loading…
Reference in New Issue