Commit f278f534 authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt20: Explicitly specify CDECL calling convention on exported functions.

parent 40cbe19e
...@@ -23,18 +23,18 @@ ...@@ -23,18 +23,18 @@
#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);
/********************************************************************* /*********************************************************************
* __getmainargs (MSVCRT20.@) * __getmainargs (MSVCRT20.@)
* *
* 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,8 +44,8 @@ void MSVCRT20__getmainargs( int *argc, char** *argv, char** *envp, ...@@ -44,8 +44,8 @@ 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 );
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment