From db0d247c82a1c58773343401fbc3d6d45c8a0199 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 12 Dec 2014 13:20:14 +0000 Subject: [PATCH] [CRT] Explicitly mark strncpy and wcsncpy as __cdecl. svn path=/trunk/; revision=65616 --- reactos/include/crt/string.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/include/crt/string.h b/reactos/include/crt/string.h index 219bf0e4031..ef659029c84 100644 --- a/reactos/include/crt/string.h +++ b/reactos/include/crt/string.h @@ -357,6 +357,7 @@ extern "C" { _In_opt_ _locale_t _Locale); char* + __cdecl strncpy( char *_Dest, const char *_Source, @@ -707,6 +708,7 @@ extern "C" { _CRTIMP _CRT_INSECURE_DEPRECATE(wcsncpy_s) wchar_t* + __cdecl wcsncpy( wchar_t *_Dest, const wchar_t *_Source,