Author: fireball Date: Sat Aug 7 09:10:06 2010 New Revision: 48476
URL: http://svn.reactos.org/svn/reactos?rev=48476&view=rev Log: [KERNEL32] - That's what happens when most of the commit's changes are not related to most of the commit message. Fixes build.
Modified: trunk/reactos/dll/win32/kernel32/file/deviceio.c trunk/reactos/dll/win32/kernel32/misc/profile.c
Modified: trunk/reactos/dll/win32/kernel32/file/deviceio.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/file/dev... ============================================================================== --- trunk/reactos/dll/win32/kernel32/file/deviceio.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/file/deviceio.c [iso-8859-1] Sat Aug 7 09:10:06 2010 @@ -9,7 +9,8 @@ /* INCLUDES *******************************************************************/
#include <k32.h> -#include <wine/debug.h> +#define NDEBUG +#include <reactos/debug.h>
/* FUNCTIONS ******************************************************************/
Modified: trunk/reactos/dll/win32/kernel32/misc/profile.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/pro... ============================================================================== --- trunk/reactos/dll/win32/kernel32/misc/profile.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/misc/profile.c [iso-8859-1] Sat Aug 7 09:10:06 2010 @@ -83,25 +83,6 @@
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