Define __* symbols for the malloc(3) functions to make wrapping easier.
authorImre Vadász <imre@vdsz.com>
Sun, 9 Jul 2017 12:08:38 +0000 (14:08 +0200)
committerImre Vadász <imre@vdsz.com>
Wed, 12 Jul 2017 22:47:06 +0000 (00:47 +0200)
commit69baab3b6fefbaae4cf4bc59d5556b43dccf8af8
tree5f33d834e87800cb6b64f8cdb238f4267f2cc3d5
parent04a4f0d239d3b276c09cbdff6e5be85d70c05f29
Define __* symbols for the malloc(3) functions to make wrapping easier.

This should match what FreeBSD and other systems do. Where the __* variants
always refer to the libc function, but the actual malloc(), free() etc.
symbols can be overrided by a malloc wrapper.
lib/libc/Versions.def
lib/libc/stdlib/Symbol.map
lib/libc/stdlib/nmalloc.c