msvcrt20: Explicitly specify CDECL calling convention on exported functions.

This commit is contained in:
Alexandre Julliard 2006-06-12 21:35:27 +02:00
parent 40cbe19e49
commit f278f534c1
1 changed files with 8 additions and 8 deletions

View File

@ -23,18 +23,18 @@
#include "windef.h"
#include "winbase.h"
extern void __getmainargs(int *argc, char** *argv, char** *envp,
int expand_wildcards, int *new_mode);
extern void __wgetmainargs(int *argc, WCHAR** *wargv, WCHAR** *wenvp,
int expand_wildcards, int *new_mode);
extern void CDECL __getmainargs(int *argc, char** *argv, char** *envp,
int expand_wildcards, int *new_mode);
extern void CDECL __wgetmainargs(int *argc, WCHAR** *wargv, WCHAR** *wenvp,
int expand_wildcards, int *new_mode);
/*********************************************************************
* __getmainargs (MSVCRT20.@)
*
* new_mode is not a pointer in msvcrt20.
*/
void MSVCRT20__getmainargs( int *argc, char** *argv, char** *envp,
int expand_wildcards, int new_mode )
void CDECL MSVCRT20__getmainargs( int *argc, char** *argv, char** *envp,
int expand_wildcards, int new_mode )
{
__getmainargs( argc, argv, envp, expand_wildcards, &new_mode );
}
@ -44,8 +44,8 @@ void MSVCRT20__getmainargs( int *argc, char** *argv, char** *envp,
*
* new_mode is not a pointer in msvcrt20.
*/
void MSVCRT20__wgetmainargs( int *argc, WCHAR** *wargv, WCHAR** *wenvp,
int expand_wildcards, int new_mode )
void CDECL MSVCRT20__wgetmainargs( int *argc, WCHAR** *wargv, WCHAR** *wenvp,
int expand_wildcards, int new_mode )
{
__wgetmainargs( argc, wargv, wenvp, expand_wildcards, &new_mode );
}