mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
[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
This commit is contained in:
parent
e4d5c13a6b
commit
4e45370f82
|
@ -9,7 +9,8 @@
|
|||
/* INCLUDES *******************************************************************/
|
||||
|
||||
#include <k32.h>
|
||||
#include <wine/debug.h>
|
||||
#define NDEBUG
|
||||
#include <reactos/debug.h>
|
||||
|
||||
/* FUNCTIONS ******************************************************************/
|
||||
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue