mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 02:35:00 +08:00
* 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:
@ -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, ...)
|
||||
{
|
||||
|
Reference in New Issue
Block a user