summaryrefslogtreecommitdiff
path: root/sys/src/cmd/6l/compat.c
AgeCommit message (Collapse)Author
2020-04-11cc, ?[acl]: fix gethunk() and move common memory allocator code to cc/compatcinap_lenrek
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.
2014-02-016l: fix warning, setmalloctag declaration, missing header type casescinap_lenrek
2012-07-30import updated compilers from sourcescinap_lenrek