netprofm: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().

And standardize its formatting, type names, etc.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2017-02-18 11:21:24 +01:00 committed by Alexandre Julliard
parent 65b6cf186d
commit 44b7ff8b71

View file

@ -41,7 +41,7 @@
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);
}