ntoskrnl: Add prefixes on all C runtime functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-03-21 22:58:50 +01:00
parent e626524e3b
commit f2cb86decb
2 changed files with 7 additions and 4 deletions

View File

@ -3342,7 +3342,10 @@ void * __cdecl NTOSKRNL_memset( void *dst, int c, size_t n )
return memset( dst, c, n );
}
int __cdecl _stricmp( LPCSTR str1, LPCSTR str2 )
/*********************************************************************
* _stricmp (NTOSKRNL.@)
*/
int __cdecl NTOSKRNL__stricmp( LPCSTR str1, LPCSTR str2 )
{
return strcasecmp( str1, str2 );
}
@ -3350,7 +3353,7 @@ int __cdecl _stricmp( LPCSTR str1, LPCSTR str2 )
/*********************************************************************
* _strnicmp (NTOSKRNL.@)
*/
int __cdecl _strnicmp( LPCSTR str1, LPCSTR str2, size_t n )
int __cdecl NTOSKRNL__strnicmp( LPCSTR str1, LPCSTR str2, size_t n )
{
return strncasecmp( str1, str2, n );
}

View File

@ -1426,9 +1426,9 @@
@ cdecl -private _purecall() msvcrt._purecall
@ varargs -private _snprintf(ptr long str) msvcrt._snprintf
@ varargs -private _snwprintf(ptr long wstr) msvcrt._snwprintf
@ cdecl -private _stricmp(str str)
@ cdecl -private _stricmp(str str) NTOSKRNL__stricmp
@ cdecl -private _strlwr(str) msvcrt._strlwr
@ cdecl -private _strnicmp(str str long) _strnicmp
@ cdecl -private _strnicmp(str str long) NTOSKRNL__strnicmp
@ cdecl -private _strnset(str long long) msvcrt._strnset
@ cdecl -private _strrev(str) msvcrt._strrev
@ cdecl -private _strset(str long) msvcrt._strset