diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-12 14:34:34 -0800 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-12 14:34:34 -0800 |
commit | eb5b3ae0d3383cef2651ae642ad297bc1dc6f228 (patch) | |
tree | c16780b9a0ef1bf47009c452733dba699cd94c38 /Makefile.in | |
parent | 64471097ca7598e8238f9e5ed25b3afaa9b10f2c (diff) | |
download | nasm-eb5b3ae0d3383cef2651ae642ad297bc1dc6f228.tar.gz |
nasmlib: Add nasm_(v)asprintf()
Add a version of (v)asprintf(), which allocates a string on the
heap. Unlike the standard version of (v)asprintf(), we return the
pointer; if one wants the length of the string then one can simply use
the %n pattern.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 82939be3..8e55e83e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -96,7 +96,7 @@ LIBOBJ = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) \ stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) \ \ nasmlib/ver.$(O) \ - nasmlib/crc64.$(O) nasmlib/malloc.$(O) \ + nasmlib/crc64.$(O) nasmlib/alloc.$(O) nasmlib/asprintf.$(O) \ nasmlib/md5c.$(O) nasmlib/string.$(O) nasmlib/nctype.$(O) \ nasmlib/file.$(O) nasmlib/mmap.$(O) nasmlib/ilog2.$(O) \ nasmlib/realpath.$(O) nasmlib/path.$(O) \ |