msvcrt: Fix cwscanf* prototypes.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2015-12-23 01:14:29 +03:00 committed by Alexandre Julliard
parent d99727bcb3
commit 7e86ab3df6
2 changed files with 6 additions and 6 deletions

View File

@ -550,7 +550,7 @@ int CDECL _cscanf_s_l(const char *format, MSVCRT__locale_t locale, ...)
/*********************************************************************
* _cwscanf (MSVCRT.@)
*/
int CDECL _cwscanf(const char *format, ...)
int CDECL _cwscanf(const MSVCRT_wchar_t *format, ...)
{
__ms_va_list valist;
int res;
@ -564,7 +564,7 @@ int CDECL _cwscanf(const char *format, ...)
/*********************************************************************
* _cwscanf_l (MSVCRT.@)
*/
int CDECL _cwscanf_l(const char *format, MSVCRT__locale_t locale, ...)
int CDECL _cwscanf_l(const MSVCRT_wchar_t *format, MSVCRT__locale_t locale, ...)
{
__ms_va_list valist;
int res;
@ -578,7 +578,7 @@ int CDECL _cwscanf_l(const char *format, MSVCRT__locale_t locale, ...)
/*********************************************************************
* _cwscanf_s (MSVCRT.@)
*/
int CDECL _cwscanf_s(const char *format, ...)
int CDECL _cwscanf_s(const MSVCRT_wchar_t *format, ...)
{
__ms_va_list valist;
int res;
@ -592,7 +592,7 @@ int CDECL _cwscanf_s(const char *format, ...)
/*********************************************************************
* _cwscanf_s_l (MSVCRT.@)
*/
int CDECL _cwscanf_s_l(const char *format, MSVCRT__locale_t locale, ...)
int CDECL _cwscanf_s_l(const MSVCRT_wchar_t *format, MSVCRT__locale_t locale, ...)
{
__ms_va_list valist;
int res;

View File

@ -52,9 +52,9 @@
#define _UNLOCK_FILE_(file) MSVCRT__unlock_file(MSVCRT_stdin)
#ifdef WIDE_SCANF
#ifdef SECURE
#define _FUNCTION_ static int MSVCRT_vcwscanf_s_l(const char *format, MSVCRT__locale_t locale, __ms_va_list ap)
#define _FUNCTION_ static int MSVCRT_vcwscanf_s_l(const MSVCRT_wchar_t *format, MSVCRT__locale_t locale, __ms_va_list ap)
#else /* SECURE */
#define _FUNCTION_ static int MSVCRT_vcwscanf_l(const char *format, MSVCRT__locale_t locale, __ms_va_list ap)
#define _FUNCTION_ static int MSVCRT_vcwscanf_l(const MSVCRT_wchar_t *format, MSVCRT__locale_t locale, __ms_va_list ap)
#endif /* SECURE */
#else /* WIDE_SCANF */
#ifdef SECURE