* asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Sep 2001 18:19:18 +0000 (18:19 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Sep 2001 18:19:18 +0000 (18:19 +0000)
commit2bfbbd2b275955dece7fedae08ed99e649ba8318
tree7713568cbdef36c81b9cfb7cd201c42fb338f89c
parent8518f8e15139f7a0f10d76e6105a4e2e290f3b22
* asprintf.c: Don't define USE_STDARG.  Use VPARAMS, VA_OPEN,
VA_FIXEDARG & VA_CLOSE.

* vasprintf.c: Check HAVE_STRING_H when including string.h.
(checkit): Delete redundant prototype.  Add ATTRIBUTE_PRINTF_1.
Use VA_OPEN, VA_FIXEDARG & VA_CLOSE.  Free allocated string.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45382 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/asprintf.c
libiberty/vasprintf.c