libc/stdlib: Refactor aligned_alloc().
authorzrj <rimvydas.jasinskas@gmail.com>
Wed, 3 Apr 2019 13:26:44 +0000 (16:26 +0300)
committerzrj <zrj@dragonflybsd.org>
Sun, 7 Apr 2019 19:15:05 +0000 (22:15 +0300)
commitd3a54aee8be483132cb76ecb195180d8c3cf9ed4
treeabb9cc2ecc29b65919a7380f8c9ffe3d52ed923c
parentb86ad3f348b345c101fe83acc61fb5381a85354f
libc/stdlib: Refactor aligned_alloc().

  * Lift the restriction from posix_memalign() that alignment should be
    more or equal to sizeof(void *).
  * Make aligned_alloc() a weak symbol.
  * Adjust the manpage.
lib/libc/stdlib/Makefile.inc
lib/libc/stdlib/Symbol.map
lib/libc/stdlib/aligned_alloc.c [deleted file]
lib/libc/stdlib/nmalloc.c
lib/libc/stdlib/posix_memalign.3