msvcrt: Added missing calling convention specification.

This commit is contained in:
Piotr Caban 2011-10-13 23:28:51 +02:00 committed by Alexandre Julliard
parent 819225d98b
commit 95f3be6573
2 changed files with 3 additions and 3 deletions

View File

@ -983,7 +983,7 @@ int CDECL MSVCRT__wrmdir(const MSVCRT_wchar_t * dir)
/****************************************************************** /******************************************************************
* _splitpath_s (MSVCRT.@) * _splitpath_s (MSVCRT.@)
*/ */
int _splitpath_s(const char* inpath, int CDECL _splitpath_s(const char* inpath,
char* drive, MSVCRT_size_t sz_drive, char* drive, MSVCRT_size_t sz_drive,
char* dir, MSVCRT_size_t sz_dir, char* dir, MSVCRT_size_t sz_dir,
char* fname, MSVCRT_size_t sz_fname, 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 * 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* drive, MSVCRT_size_t sz_drive,
MSVCRT_wchar_t* dir, MSVCRT_size_t sz_dir, MSVCRT_wchar_t* dir, MSVCRT_size_t sz_dir,
MSVCRT_wchar_t* fname, MSVCRT_size_t sz_fname, MSVCRT_wchar_t* fname, MSVCRT_size_t sz_fname,

View File

@ -655,7 +655,7 @@ void CDECL MSVCRT__free_locale(MSVCRT__locale_t locale)
} }
/* _create_locale - not exported in native msvcrt */ /* _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 collate[] = "COLLATE=";
static const char ctype[] = "CTYPE="; static const char ctype[] = "CTYPE=";