Piotr Caban : msvcrt: Added missing calling convention specification.

Alexandre Julliard julliard at winehq.org
Fri Oct 14 14:14:47 CDT 2011


Module: wine
Branch: master
Commit: 95f3be6573fda49f8ab90ab7956265d13d0d9763
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=95f3be6573fda49f8ab90ab7956265d13d0d9763

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Thu Oct 13 23:28:51 2011 +0200

msvcrt: Added missing calling convention specification.

---

 dlls/msvcrt/dir.c    |    4 ++--
 dlls/msvcrt/locale.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/msvcrt/dir.c b/dlls/msvcrt/dir.c
index 66feeb5..01f63ec 100644
--- a/dlls/msvcrt/dir.c
+++ b/dlls/msvcrt/dir.c
@@ -983,7 +983,7 @@ int CDECL MSVCRT__wrmdir(const MSVCRT_wchar_t * dir)
 /******************************************************************
  *		_splitpath_s (MSVCRT.@)
  */
-int _splitpath_s(const char* inpath,
+int CDECL _splitpath_s(const char* inpath,
         char* drive, MSVCRT_size_t sz_drive,
         char* dir, MSVCRT_size_t sz_dir,
         char* fname, MSVCRT_size_t sz_fname,
@@ -1075,7 +1075,7 @@ void CDECL _splitpath(const char *inpath, char *drv, char *dir,
  *
  * Secure version of _wsplitpath
  */
-int _wsplitpath_s(const MSVCRT_wchar_t* inpath,
+int CDECL _wsplitpath_s(const MSVCRT_wchar_t* inpath,
                   MSVCRT_wchar_t* drive, MSVCRT_size_t sz_drive,
                   MSVCRT_wchar_t* dir, MSVCRT_size_t sz_dir,
                   MSVCRT_wchar_t* fname, MSVCRT_size_t sz_fname,
diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c
index 0fbc0fe..8d71c11 100644
--- a/dlls/msvcrt/locale.c
+++ b/dlls/msvcrt/locale.c
@@ -655,7 +655,7 @@ void CDECL MSVCRT__free_locale(MSVCRT__locale_t locale)
 }
 
 /* _create_locale - not exported in native msvcrt */
-MSVCRT__locale_t MSVCRT__create_locale(int category, const char *locale)
+MSVCRT__locale_t CDECL MSVCRT__create_locale(int category, const char *locale)
 {
     static const char collate[] = "COLLATE=";
     static const char ctype[] = "CTYPE=";




More information about the wine-cvs mailing list