Commit 6b3a5e8a by Michael Forney Committed by Jeff Law

libiberty.h (vasprintf): Don't declare if HAVE_DECL_VASPRINTF is not defined.

	* libiberty.h (vasprintf): Don't declare if HAVE_DECL_VASPRINTF
	is not defined.

From-SVN: r270605
parent 53e69273
2019-04-26 Michael Forney <mforney@mforney.org>
* libiberty.h (vasprintf): Don't declare if HAVE_DECL_VASPRINTF
is not defined.
2019-04-03 Vineet Gupta <vgupta@synopsys.com>
PR89877
......
......@@ -649,7 +649,7 @@ extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2;
extern char *xasprintf (const char *, ...) ATTRIBUTE_MALLOC ATTRIBUTE_PRINTF_1;
#if !HAVE_DECL_VASPRINTF
#if defined(HAVE_DECL_VASPRINTF) && !HAVE_DECL_VASPRINTF
/* Like vsprintf but provides a pointer to malloc'd storage, which
must be freed by the caller. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment