Properly declare with FORCEINLINE

svn path=/trunk/; revision=63016
This commit is contained in:
Pierre Schweitzer 2014-04-27 12:45:51 +00:00
parent a1b1ed5592
commit 6c54a61b58
2 changed files with 7 additions and 4 deletions

View file

@ -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)
{ {

View file

@ -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;