https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0dfd5665c0f3dda38d417920609bf276e77d26d2

commit 0dfd5665c0f3dda38d417920609bf276e77d26d2
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Fri Jun 17 03:02:23 2016 +0300
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Thu Feb 2 14:58:08 2023 +0100

    [WINESYNC] ucrtbase: Implement _calloc_base.
    
    Signed-off-by: Alex Henrie <[email protected]>
    Signed-off-by: Piotr Caban <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
    
    wine commit id fdc57d497bb305e90680c3b450fa172042fd79cd by Alex Henrie 
<[email protected]>
---
 sdk/lib/crt/wine/heap.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sdk/lib/crt/wine/heap.c b/sdk/lib/crt/wine/heap.c
index 1b7eb529f31..66fcf5b4b82 100644
--- a/sdk/lib/crt/wine/heap.c
+++ b/sdk/lib/crt/wine/heap.c
@@ -429,6 +429,14 @@ void* CDECL MSVCRT_calloc(MSVCRT_size_t count, 
MSVCRT_size_t size)
   return msvcrt_heap_alloc(HEAP_ZERO_MEMORY, bytes);
 }
 
+/*********************************************************************
+ *             _calloc_base (UCRTBASE.@)
+ */
+void* CDECL _calloc_base(MSVCRT_size_t count, MSVCRT_size_t size)
+{
+  return MSVCRT_calloc(count, size);
+}
+
 /*********************************************************************
  *             free (MSVCRT.@)
  */

Reply via email to