diff --git a/reactos/dll/win32/kernel32/file/deviceio.c b/reactos/dll/win32/kernel32/file/deviceio.c index b4435a9f758..ead93868b41 100644 --- a/reactos/dll/win32/kernel32/file/deviceio.c +++ b/reactos/dll/win32/kernel32/file/deviceio.c @@ -9,7 +9,8 @@ /* INCLUDES *******************************************************************/ #include -#include +#define NDEBUG +#include /* FUNCTIONS ******************************************************************/ diff --git a/reactos/dll/win32/kernel32/misc/profile.c b/reactos/dll/win32/kernel32/misc/profile.c index e327029f378..57805aa11dd 100644 --- a/reactos/dll/win32/kernel32/misc/profile.c +++ b/reactos/dll/win32/kernel32/misc/profile.c @@ -84,25 +84,6 @@ static RTL_CRITICAL_SECTION PROFILE_CritSect = { &critsect_debug, -1, 0, 0, 0, 0 static const char hex[16] = "0123456789ABCDEF"; -static __inline WCHAR *memchrW( const WCHAR *ptr, WCHAR ch, size_t n ) -{ - const WCHAR *end; - for (end = ptr + n; ptr < end; ptr++) - if (*ptr == ch) - return (WCHAR *)(ULONG_PTR)ptr; - return NULL; -} - -static __inline WCHAR *memrchrW( const WCHAR *ptr, WCHAR ch, size_t n ) -{ - const WCHAR *end; - WCHAR *ret = NULL; - for (end = ptr + n; ptr < end; ptr++) - if (*ptr == ch) - ret = (WCHAR *)(ULONG_PTR)ptr; - return ret; -} - /*********************************************************************** * PROFILE_CopyEntry *