From e88509188632d76288d391d1407157f1bff22ade Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 24 Dec 2014 17:22:51 +0100 Subject: xasprintf.c: New file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libiberty/ChangeLog: * xasprintf.c: New file. * Makefile.in (CFILES): Add xasprintf.c. (REQUIRED_OFILES): Add xasprintf.$(objext). (xasprintf.$(objext)): New target. * functions.texi: Regenerate. include/ChangeLog: * libiberty.h (xasprintf): Declare. gcc/ChangeLog: * gengtype.h (xasprintf): Remove declaration. * gengtype.c (xasprintf): Remove. Co-Authored-By: Ben Elliston Co-Authored-By: Manuel López-Ibáñez From-SVN: r219060 --- gcc/gengtype.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gcc/gengtype.h') diff --git a/gcc/gengtype.h b/gcc/gengtype.h index e4596039a01..3da57e84440 100644 --- a/gcc/gengtype.h +++ b/gcc/gengtype.h @@ -418,9 +418,6 @@ void write_state (const char* path); extern void error_at_line (const struct fileloc *pos, const char *msg, ...) ATTRIBUTE_PRINTF_2; -/* Like asprintf, but calls fatal() on out of memory. */ -extern char *xasprintf (const char *, ...) ATTRIBUTE_PRINTF_1; - /* Constructor routines for types. */ extern void do_typedef (const char *s, type_p t, struct fileloc *pos); extern void do_scalar_typedef (const char *s, struct fileloc *pos); -- cgit v1.2.1