Split xmemdup0 into its own module.
authorEric Blake <ebb9@byu.net>
Wed, 14 May 2008 03:28:43 +0000 (21:28 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 14 May 2008 03:28:43 +0000 (21:28 -0600)
commit929dcebaff7c1ee0501e83ee6e3016aa6d95b4cf
tree7ba9bbf7fb40e56dc0ae8ade49bda722b97ef9c4
parent9098fb40dd5020ab216d9b761991a10ed51bd850
Split xmemdup0 into its own module.

* modules/xmemdup0: New file.
* lib/xmemdup0.h: Likewise.
* lib/xmemdup0.c: Likewise.
* MODULES.html.sh (Memory management functions): Add xmemdup0.
* lib/xalloc.h (xmemdup0): Remove.
* lib/xmalloc.c (xmemdup0): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
MODULES.html.sh
lib/xalloc.h
lib/xmalloc.c
lib/xmemdup0.c [new file with mode: 0644]
lib/xmemdup0.h [new file with mode: 0644]
modules/xmemdup0 [new file with mode: 0644]