mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 07:40:24 +08:00
[KMIXER]
- Remove memset and memcpy implementations from pin.c svn path=/trunk/; revision=48230
This commit is contained in:
@@ -731,30 +731,3 @@ void free(PVOID Block)
|
||||
{
|
||||
ExFreePool(Block);
|
||||
}
|
||||
|
||||
void *memset(
|
||||
void* dest,
|
||||
int c,
|
||||
size_t count)
|
||||
{
|
||||
ULONG Index;
|
||||
PUCHAR Block = (PUCHAR)dest;
|
||||
|
||||
for(Index = 0; Index < count; Index++)
|
||||
Block[Index] = c;
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
||||
void * memcpy(
|
||||
void* dest,
|
||||
const void* src,
|
||||
size_t count)
|
||||
{
|
||||
ULONG Index;
|
||||
PUCHAR Src = (PUCHAR)src, Dest = (PUCHAR)dest;
|
||||
|
||||
for(Index = 0; Index < count; Index++)
|
||||
Dest[Index] = Src[Index];
|
||||
return dest;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user