Module: wine
Branch: master
Commit: 2f3594c1dca68755a0e326b12ed629008c74286d
URL:
https://source.winehq.org/git/wine.git/?a=commit;h=2f3594c1dca68755a0e326b1…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Date: Mon Jan 29 23:12:30 2018 +0000
dpnet: Use the global HeapAlloc() wrappers.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/dpnet/dpnet_private.h | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/dlls/dpnet/dpnet_private.h b/dlls/dpnet/dpnet_private.h
index 44ff289d..2e72360 100644
--- a/dlls/dpnet/dpnet_private.h
+++ b/dlls/dpnet/dpnet_private.h
@@ -25,6 +25,7 @@
# error You must include config.h to use this header
#endif
+#include "wine/heap.h"
#include <wine/list.h>
#include "winsock2.h"
#include "wine/unicode.h"
@@ -154,21 +155,6 @@ typedef struct {
#define FE(x) { x, #x }
#define GE(x) { &x, #x }
-static inline void __WINE_ALLOC_SIZE(1) *heap_alloc( size_t len )
-{
- return HeapAlloc( GetProcessHeap(), 0, len );
-}
-
-static inline void __WINE_ALLOC_SIZE(2) *heap_realloc(void *mem, size_t len)
-{
- return HeapReAlloc( GetProcessHeap(), 0, mem, len);
-}
-
-static inline BOOL heap_free( void *mem )
-{
- return HeapFree( GetProcessHeap(), 0, mem );
-}
-
static inline WCHAR *heap_strdupW( const WCHAR *src )
{
WCHAR *dst;