]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/vasprintf.c
asprintf.c: Don't define USE_STDARG.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 4 Sep 2001 18:19:18 +0000 (18:19 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 4 Sep 2001 18:19:18 +0000 (18:19 +0000)
commit7a98d9b2484ca82269f5f63850606f95c8a77a9c
tree7713568cbdef36c81b9cfb7cd201c42fb338f89c
parent9d6466593e9e7c8e241f93c7a158160be9440c39
asprintf.c: Don't define USE_STDARG.

* 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.

From-SVN: r45382
libiberty/ChangeLog
libiberty/asprintf.c
libiberty/vasprintf.c