diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-11 17:01:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-11 17:01:06 +0300 |
commit | 5bbeb86b16369c9978d006b445b61a941895ccf3 (patch) | |
tree | b3a4e7ef3d934bb7c40ce966d67171287258b37f /include | |
parent | 37ed22ab43e74245169c9f49562c22ae978b2876 (diff) |
another SAL specification for format strings added
Diffstat (limited to 'include')
-rw-r--r-- | include/m_netlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h index 6d7106a882..ce0c50e5e6 100644 --- a/include/m_netlib.h +++ b/include/m_netlib.h @@ -744,8 +744,8 @@ EXTERN_C MIR_APP_DLL(int) Netlib_StartSsl(HNETLIBCONN hConnection, const char *h EXTERN_C MIR_APP_DLL(int) Netlib_Log(HNETLIBUSER hUser, const char *pszStr);
EXTERN_C MIR_APP_DLL(int) Netlib_LogW(HNETLIBUSER hUser, const wchar_t *pwszStr);
-EXTERN_C MIR_APP_DLL(int) Netlib_Logf(HNETLIBUSER hUser, const char *fmt, ...);
-EXTERN_C MIR_APP_DLL(int) Netlib_LogfW(HNETLIBUSER hUser, const wchar_t *fmt, ...);
+EXTERN_C MIR_APP_DLL(int) Netlib_Logf(HNETLIBUSER hUser, _Printf_format_string_ const char *fmt, ...);
+EXTERN_C MIR_APP_DLL(int) Netlib_LogfW(HNETLIBUSER hUser, _Printf_format_string_ const wchar_t *fmt, ...);
/////////////////////////////////////////////////////////////////////////////////////////
// Security providers (0.6+)
|