diff options
Diffstat (limited to 'gdb/common/common-utils.c')
-rw-r--r-- | gdb/common/common-utils.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/common/common-utils.c b/gdb/common/common-utils.c index ad01ed6..ef5d638 100644 --- a/gdb/common/common-utils.c +++ b/gdb/common/common-utils.c @@ -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, ...) { |