ref: 1b8a56941708e6fe884f4649f718fae7c543c045
parent: 9d46360c9d83fa95f42f1eebbad49ecd9281fb0d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Apr 11 01:03:49 EDT 2020
cc, ?[acl]: fix gethunk() and move common memory allocator code to cc/compat for gethunk() to work, all allocators have to use it, including allocations done by libc thru malloc(), so the fake allocation functions are mandatory for everyone. to avoid duplication the code is moved to cc/compat and prototypes provided in new cc/compat.h header.