diff options
author | Tom Tromey <tromey@redhat.com> | 2012-11-29 17:23:18 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-11-29 17:23:18 +0000 |
commit | a93478eab4c34a25032e58b173fede5d14fe823d (patch) | |
tree | a1d60b63ccaafb7412af430590812045692669e5 /gdb/common/common-utils.h | |
parent | cdde3dfbdafeee2a2da88fa1da0628ced7f68709 (diff) | |
download | binutils-a93478eab4c34a25032e58b173fede5d14fe823d.zip binutils-a93478eab4c34a25032e58b173fede5d14fe823d.tar.gz binutils-a93478eab4c34a25032e58b173fede5d14fe823d.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/common/common-utils.h')
-rw-r--r-- | gdb/common/common-utils.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/common/common-utils.h b/gdb/common/common-utils.h index 030bcc5..58fa3f9 100644 --- a/gdb/common/common-utils.h +++ b/gdb/common/common-utils.h @@ -43,13 +43,6 @@ char *xstrprintf (const char *format, ...) ATTRIBUTE_PRINTF (1, 2); char *xstrvprintf (const char *format, va_list ap) ATTRIBUTE_PRINTF (1, 0); -/* Like asprintf/vasprintf but get an internal_error if the call - fails. */ -void xasprintf (char **ret, const char *format, ...) - ATTRIBUTE_PRINTF (2, 3); -void xvasprintf (char **ret, const char *format, va_list ap) - ATTRIBUTE_PRINTF (2, 0); - /* Like snprintf, but throw an error if the output buffer is too small. */ int xsnprintf (char *str, size_t size, const char *format, ...) ATTRIBUTE_PRINTF (3, 4); |