* contrib/ari/gdb_ari.sh: Remove rules for xasprintf and

xvasprintf.
	* common/common-utils.c (xasprintf, xvasprintf): Remove.
	* common/common-utils.h (xasprintf, xvasprintf): Remove.
This commit is contained in:
Tom Tromey 2012-11-29 17:23:18 +00:00
parent cdde3dfbda
commit a93478eab4
4 changed files with 7 additions and 43 deletions

View file

@ -137,22 +137,6 @@ xstrvprintf (const char *format, va_list ap)
return ret;
}
void
xasprintf (char **ret, const char *format, ...)
{
va_list args;
va_start (args, format);
(*ret) = xstrvprintf (format, args);
va_end (args);
}
void
xvasprintf (char **ret, const char *format, va_list ap)
{
(*ret) = xstrvprintf (format, ap);
}
int
xsnprintf (char *str, size_t size, const char *format, ...)
{