[v2] oleaut32: Make the heap allocation functions static.
Alexandre Julliard
julliard at winehq.org
Wed Jan 11 14:17:53 CST 2017
Francois Gouget <fgouget at free.fr> writes:
> @@ -1600,26 +1600,26 @@ static void TLB_abort(void)
> DebugBreak();
> }
>
> -void* __WINE_ALLOC_SIZE(1) heap_alloc_zero(unsigned size)
> +static void* __WINE_ALLOC_SIZE(1) heap_alloc_zero(unsigned size)
> {
> void *ret = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size);
> if (!ret) ERR("cannot allocate memory\n");
> return ret;
> }
There are standard functions that I expect we'd want to use in more
places (right Michael?)
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list