mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[RTL]
Properly declare with FORCEINLINE svn path=/trunk/; revision=63016
This commit is contained in:
parent
a1b1ed5592
commit
6c54a61b58
2 changed files with 7 additions and 4 deletions
|
@ -46,7 +46,8 @@ UCHAR RtlpBitsClearLow[] =
|
||||||
4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0
|
4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0
|
||||||
};
|
};
|
||||||
|
|
||||||
UCHAR FORCEINLINE
|
FORCEINLINE
|
||||||
|
UCHAR
|
||||||
RtlpFindLeastSetBit(ULONG Bits)
|
RtlpFindLeastSetBit(ULONG Bits)
|
||||||
{
|
{
|
||||||
if (Bits & 0xFFFF)
|
if (Bits & 0xFFFF)
|
||||||
|
@ -203,7 +204,8 @@ RtlpInitializeHeap(OUT PHEAP Heap,
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID FORCEINLINE
|
FORCEINLINE
|
||||||
|
VOID
|
||||||
RtlpSetFreeListsBit(PHEAP Heap,
|
RtlpSetFreeListsBit(PHEAP Heap,
|
||||||
PHEAP_FREE_ENTRY FreeEntry)
|
PHEAP_FREE_ENTRY FreeEntry)
|
||||||
{
|
{
|
||||||
|
@ -222,7 +224,8 @@ RtlpSetFreeListsBit(PHEAP Heap,
|
||||||
Heap->u.FreeListsInUseBytes[Index] |= Bit;
|
Heap->u.FreeListsInUseBytes[Index] |= Bit;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID FORCEINLINE
|
FORCEINLINE
|
||||||
|
VOID
|
||||||
RtlpClearFreeListsBit(PHEAP Heap,
|
RtlpClearFreeListsBit(PHEAP Heap,
|
||||||
PHEAP_FREE_ENTRY FreeEntry)
|
PHEAP_FREE_ENTRY FreeEntry)
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
USHORT
|
|
||||||
FORCEINLINE
|
FORCEINLINE
|
||||||
|
USHORT
|
||||||
ChkSum(ULONG Sum, PUSHORT Src, ULONG Len)
|
ChkSum(ULONG Sum, PUSHORT Src, ULONG Len)
|
||||||
{
|
{
|
||||||
ULONG i;
|
ULONG i;
|
||||||
|
|
Loading…
Reference in a new issue