Module: wine Branch: refs/heads/master Commit: f278f534c10430c67faa86ece8b46f6141d82eee URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f278f534c10430c67faa86ec...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jun 12 21:35:27 2006 +0200
msvcrt20: Explicitly specify CDECL calling convention on exported functions.
---
dlls/msvcrt20/msvcrt20.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/msvcrt20/msvcrt20.c b/dlls/msvcrt20/msvcrt20.c index 8b14ed8..8f8b448 100644 --- a/dlls/msvcrt20/msvcrt20.c +++ b/dlls/msvcrt20/msvcrt20.c @@ -23,18 +23,18 @@ #include <stdarg.h> #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, c * * 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 ); }