These attributes are present in the corresponding declarations in
conio.h.

Signed-off-by: Martin Storsjö <[email protected]>
---
 mingw-w64-headers/crt/wchar.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mingw-w64-headers/crt/wchar.h b/mingw-w64-headers/crt/wchar.h
index f6605720c..9d22d31bb 100644
--- a/mingw-w64-headers/crt/wchar.h
+++ b/mingw-w64-headers/crt/wchar.h
@@ -281,8 +281,8 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index);
   _CRTIMP wint_t __cdecl _ungetwch(wint_t _WCh);
   _CRTIMP int __cdecl _cputws(const wchar_t *_String);
   _CRTIMP int __cdecl _cwprintf(const wchar_t * __restrict__ _Format,...);
-  _CRTIMP int __cdecl _cwscanf(const wchar_t * __restrict__ _Format,...);
-  _CRTIMP int __cdecl _cwscanf_l(const wchar_t * __restrict__ 
_Format,_locale_t _Locale,...);
+  _CRTIMP int __cdecl _cwscanf(const wchar_t * __restrict__ _Format,...) 
__MINGW_ATTRIB_DEPRECATED_SEC_WARN;
+  _CRTIMP int __cdecl _cwscanf_l(const wchar_t * __restrict__ 
_Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
   _CRTIMP int __cdecl _vcwprintf(const wchar_t * __restrict__ _Format,va_list 
_ArgList);
   _CRTIMP int __cdecl _cwprintf_p(const wchar_t * __restrict__ _Format,...);
   _CRTIMP int __cdecl _vcwprintf_p(const wchar_t * __restrict__ 
_Format,va_list _ArgList);
-- 
2.43.0



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to