Commit 7e86ab3d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msvcrt: Fix cwscanf* prototypes.

parent d99727bc
...@@ -550,7 +550,7 @@ int CDECL _cscanf_s_l(const char *format, MSVCRT__locale_t locale, ...) ...@@ -550,7 +550,7 @@ int CDECL _cscanf_s_l(const char *format, MSVCRT__locale_t locale, ...)
/********************************************************************* /*********************************************************************
* _cwscanf (MSVCRT.@) * _cwscanf (MSVCRT.@)
*/ */
int CDECL _cwscanf(const char *format, ...) int CDECL _cwscanf(const MSVCRT_wchar_t *format, ...)
{ {
__ms_va_list valist; __ms_va_list valist;
int res; int res;
...@@ -564,7 +564,7 @@ int CDECL _cwscanf(const char *format, ...) ...@@ -564,7 +564,7 @@ int CDECL _cwscanf(const char *format, ...)
/********************************************************************* /*********************************************************************
* _cwscanf_l (MSVCRT.@) * _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; __ms_va_list valist;
int res; int res;
...@@ -578,7 +578,7 @@ int CDECL _cwscanf_l(const char *format, MSVCRT__locale_t locale, ...) ...@@ -578,7 +578,7 @@ int CDECL _cwscanf_l(const char *format, MSVCRT__locale_t locale, ...)
/********************************************************************* /*********************************************************************
* _cwscanf_s (MSVCRT.@) * _cwscanf_s (MSVCRT.@)
*/ */
int CDECL _cwscanf_s(const char *format, ...) int CDECL _cwscanf_s(const MSVCRT_wchar_t *format, ...)
{ {
__ms_va_list valist; __ms_va_list valist;
int res; int res;
...@@ -592,7 +592,7 @@ int CDECL _cwscanf_s(const char *format, ...) ...@@ -592,7 +592,7 @@ int CDECL _cwscanf_s(const char *format, ...)
/********************************************************************* /*********************************************************************
* _cwscanf_s_l (MSVCRT.@) * _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; __ms_va_list valist;
int res; int res;
......
...@@ -52,9 +52,9 @@ ...@@ -52,9 +52,9 @@
#define _UNLOCK_FILE_(file) MSVCRT__unlock_file(MSVCRT_stdin) #define _UNLOCK_FILE_(file) MSVCRT__unlock_file(MSVCRT_stdin)
#ifdef WIDE_SCANF #ifdef WIDE_SCANF
#ifdef SECURE #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 */ #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 */ #endif /* SECURE */
#else /* WIDE_SCANF */ #else /* WIDE_SCANF */
#ifdef SECURE #ifdef SECURE
......
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