diff --git a/reactos/include/ddk/rtl.h b/reactos/include/ddk/rtl.h index b7edcd784f0..1a93bbd5a46 100644 --- a/reactos/include/ddk/rtl.h +++ b/reactos/include/ddk/rtl.h @@ -1,4 +1,4 @@ -/* $Id: rtl.h,v 1.63 2002/07/29 15:33:31 ekohl Exp $ +/* $Id: rtl.h,v 1.64 2002/08/18 18:50:25 hyperion Exp $ * */ @@ -1011,11 +1011,7 @@ RtlGetDefaultCodePage ( PUSHORT OemCodePage ); -HANDLE -STDCALL -RtlGetProcessHeap ( - VOID - ); +#define RtlGetProcessHeap() (NtCurrentPeb()->ProcessHeap) PVOID STDCALL diff --git a/reactos/lib/ntdll/def/ntdll.def b/reactos/lib/ntdll/def/ntdll.def index b6241b10188..3ccb9a21fd8 100644 --- a/reactos/lib/ntdll/def/ntdll.def +++ b/reactos/lib/ntdll/def/ntdll.def @@ -1,4 +1,4 @@ -; $Id: ntdll.def,v 1.87 2002/08/15 16:11:01 dwelch Exp $ +; $Id: ntdll.def,v 1.88 2002/08/18 18:50:26 hyperion Exp $ ; ; ReactOS Operating System ; @@ -427,7 +427,6 @@ RtlGetNtGlobalFlags@0 RtlGetNtProductType@4 RtlGetOwnerSecurityDescriptor@12 RtlGetProcessHeaps@8 -RtlGetProcessHeap@0 RtlGetSaclSecurityDescriptor@16 ;RtlGetUserInfoHeap ;RtlGuidToPropertySetName diff --git a/reactos/lib/ntdll/def/ntdll.edf b/reactos/lib/ntdll/def/ntdll.edf index b7712a8518b..a0bf1658eb1 100644 --- a/reactos/lib/ntdll/def/ntdll.edf +++ b/reactos/lib/ntdll/def/ntdll.edf @@ -1,4 +1,4 @@ -; $Id: ntdll.edf,v 1.76 2002/08/15 16:11:01 dwelch Exp $ +; $Id: ntdll.edf,v 1.77 2002/08/18 18:50:26 hyperion Exp $ ; ; ReactOS Operating System ; @@ -426,7 +426,6 @@ RtlGetNtGlobalFlags=RtlGetNtGlobalFlags@0 RtlGetNtProductType=RtlGetNtProductType@4 RtlGetOwnerSecurityDescriptor=RtlGetOwnerSecurityDescriptor@12 RtlGetProcessHeaps=RtlGetProcessHeaps@8 -RtlGetProcessHeap=RtlGetProcessHeap@0 RtlGetSaclSecurityDescriptor=RtlGetSaclSecurityDescriptor@16 ;RtlGetUserInfoHeap ;RtlGuidToPropertySetName diff --git a/reactos/lib/ntdll/rtl/heap.c b/reactos/lib/ntdll/rtl/heap.c index 0dc64b2b756..cb17d4470a5 100644 --- a/reactos/lib/ntdll/rtl/heap.c +++ b/reactos/lib/ntdll/rtl/heap.c @@ -1552,14 +1552,6 @@ HW_end: } #endif - -HANDLE STDCALL -RtlGetProcessHeap(VOID) -{ - DPRINT("RtlGetProcessHeap()\n"); - return (HANDLE)NtCurrentPeb()->ProcessHeap; -} - VOID RtlInitializeHeapManager(VOID) {