Alexandre Julliard : kernel32: Remove heap function replacements.

Alexandre Julliard julliard at winehq.org
Wed Dec 11 16:35:08 CST 2019


Module: wine
Branch: master
Commit: f88404bfb0401268dac45fc8974687ba6a227c66
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f88404bfb0401268dac45fc8974687ba6a227c66

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Dec 11 22:21:54 2019 +0100

kernel32: Remove heap function replacements.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/heap.c | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/dlls/kernel32/heap.c b/dlls/kernel32/heap.c
index 3027a6ee17..6c5219b624 100644
--- a/dlls/kernel32/heap.c
+++ b/dlls/kernel32/heap.c
@@ -143,34 +143,6 @@ BOOL WINAPI HeapDestroy( HANDLE heap /* [in] Handle of heap */ )
 }
 
 
-
-
-
-/* These are needed so that we can call the functions from inside kernel itself */
-
-/***********************************************************************
- *           HeapAlloc    (KERNEL32.@)
- */
-LPVOID WINAPI HeapAlloc( HANDLE heap, DWORD flags, SIZE_T size )
-{
-    return RtlAllocateHeap( heap, flags, size );
-}
-
-BOOL WINAPI HeapFree( HANDLE heap, DWORD flags, LPVOID ptr )
-{
-    return RtlFreeHeap( heap, flags, ptr );
-}
-
-LPVOID WINAPI HeapReAlloc( HANDLE heap, DWORD flags, LPVOID ptr, SIZE_T size )
-{
-    return RtlReAllocateHeap( heap, flags, ptr, size );
-}
-
-SIZE_T WINAPI HeapSize( HANDLE heap, DWORD flags, LPCVOID ptr )
-{
-    return RtlSizeHeap( heap, flags, ptr );
-}
-
 /*
  * Win32 Global heap functions (GlobalXXX).
  * These functions included in Win32 for compatibility with 16 bit Windows




More information about the wine-cvs mailing list