From 4e45370f8259d79a812a804834514664a38bf86d Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Sat, 7 Aug 2010 09:10:06 +0000 Subject: [PATCH] [KERNEL32] - That's what happens when most of the commit's changes are not related to most of the commit message. Fixes build. svn path=/trunk/; revision=48476 --- reactos/dll/win32/kernel32/file/deviceio.c | 3 ++- reactos/dll/win32/kernel32/misc/profile.c | 19 ------------------- 2 files changed, 2 insertions(+), 20 deletions(-) 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 *