mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +00:00
[CRT] Fix some inconsistent annotations in CRT headers.
This fixes about 5000 VS analysis warnings.
This commit is contained in:
parent
f5c5426924
commit
b72efb6ca8
|
@ -474,6 +474,7 @@ _getcwd(
|
|||
#include <string.h>
|
||||
#endif
|
||||
|
||||
_Check_return_
|
||||
__CRT_INLINE
|
||||
intptr_t
|
||||
__cdecl
|
||||
|
@ -492,6 +493,7 @@ _getcwd(
|
|||
return ret;
|
||||
}
|
||||
|
||||
_Check_return_
|
||||
__CRT_INLINE
|
||||
int
|
||||
__cdecl
|
||||
|
|
|
@ -1432,7 +1432,7 @@ extern "C" {
|
|||
_Check_return_ long long __cdecl llabs(_In_ long long _j);
|
||||
#pragma function(llabs)
|
||||
#endif
|
||||
__MINGW_EXTENSION __CRT_INLINE long long __cdecl llabs(_In_ long long _j) { return (_j >= 0 ? _j : -_j); }
|
||||
__MINGW_EXTENSION _Check_return_ __CRT_INLINE long long __cdecl llabs(_In_ long long _j) { return (_j >= 0 ? _j : -_j); }
|
||||
|
||||
__MINGW_EXTENSION long long __cdecl strtoll(const char* __restrict__, char** __restrict, int);
|
||||
__MINGW_EXTENSION unsigned long long __cdecl strtoull(const char* __restrict__, char** __restrict__, int);
|
||||
|
|
|
@ -508,7 +508,7 @@ extern "C" {
|
|||
_strupr_s_l(
|
||||
_Inout_updates_z_(_Size) char *_Str,
|
||||
_In_ size_t _Size,
|
||||
_locale_t _Locale);
|
||||
_In_opt_ _locale_t _Locale);
|
||||
|
||||
_Check_return_wat_
|
||||
_CRTIMP
|
||||
|
|
Loading…
Reference in a new issue