wbemdisp: Simplify and standardize the heap_xxx() declarations.
Francois Gouget
fgouget at free.fr
Wed Feb 22 04:25:18 CST 2017
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
dlls/wbemdisp/wbemdisp_private.h | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/dlls/wbemdisp/wbemdisp_private.h b/dlls/wbemdisp/wbemdisp_private.h
index cc84d728b85..28912483e42 100644
--- a/dlls/wbemdisp/wbemdisp_private.h
+++ b/dlls/wbemdisp/wbemdisp_private.h
@@ -18,13 +18,12 @@
HRESULT SWbemLocator_create(LPVOID *) DECLSPEC_HIDDEN;
-static void *heap_alloc( size_t len ) __WINE_ALLOC_SIZE(1);
-static inline void *heap_alloc( size_t len )
+static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
{
- return HeapAlloc( GetProcessHeap(), 0, len );
+ 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);
}
--
2.11.0
More information about the wine-patches
mailing list