From: Francois Gouget Subject: netprofm: Add a __WINE_ALLOC_SIZE attribute to heap_alloc(). Message-Id: Date: Sat, 18 Feb 2017 11:21:24 +0100 (CET) And standardize its formatting, type names, etc. Signed-off-by: Francois Gouget --- dlls/netprofm/list.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/netprofm/list.c b/dlls/netprofm/list.c index 33b2fa6d45e..88477583995 100644 --- a/dlls/netprofm/list.c +++ b/dlls/netprofm/list.c @@ -41,14 +41,14 @@ WINE_DEFAULT_DEBUG_CHANNEL(netprofm); -static inline void *heap_alloc( SIZE_T size ) +static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size) { - return HeapAlloc( GetProcessHeap(), 0, size ); + return HeapAlloc(GetProcessHeap(), 0, size); } -static inline BOOL heap_free( void *mem ) +static inline BOOL heap_free(void *mem) { - return HeapFree( GetProcessHeap(), 0, mem ); + return HeapFree(GetProcessHeap(), 0, mem); } struct network -- 2.11.0