malloc(9): provide missing malloc_aligned implementation
Pointy hat: kevans Fixes: 6162cf885c00 ("malloc(9): Document/complete aligned variants")
This commit is contained in:
parent
aaccfdde3d
commit
04cc0c393c
@ -771,6 +771,13 @@ malloc_domainset_exec(size_t size, struct malloc_type *mtp, struct domainset *ds
|
||||
return (malloc_large(size, mtp, ds, flags DEBUG_REDZONE_ARG));
|
||||
}
|
||||
|
||||
void *
|
||||
malloc_aligned(size_t size, size_t align, struct malloc_type *type, int flags)
|
||||
{
|
||||
return (malloc_domainset_aligned(size, align, type, DOMAINSET_RR(),
|
||||
flags));
|
||||
}
|
||||
|
||||
void *
|
||||
malloc_domainset_aligned(size_t size, size_t align,
|
||||
struct malloc_type *mtp, struct domainset *ds, int flags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user