diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2014-12-24 17:22:51 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2014-12-24 17:22:51 +0100 |
commit | e88509188632d76288d391d1407157f1bff22ade (patch) | |
tree | e21bcbff0304890e7c01194049ad076d6a2a28eb /gcc/gengtype.h | |
parent | 369695b99d6eb0382c32ad442a55a5d3e656069a (diff) | |
download | gcc-e88509188632d76288d391d1407157f1bff22ade.tar.gz |
xasprintf.c: New file.
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 <bje@au.ibm.com>
Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
From-SVN: r219060
Diffstat (limited to 'gcc/gengtype.h')
-rw-r--r-- | gcc/gengtype.h | 3 |
1 files changed, 0 insertions, 3 deletions
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); |