[CRT] Fix some inconsistent annotations in CRT headers.

This fixes about 5000 VS analysis warnings.
This commit is contained in:
Thomas Faber 2021-11-25 11:13:11 -05:00
parent f5c5426924
commit b72efb6ca8
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
3 changed files with 4 additions and 2 deletions

View file

@ -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);