diff options
author | Tom Tromey <tromey@redhat.com> | 2012-11-29 17:23:17 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-11-29 17:23:17 +0000 |
commit | 2b6347507c36980533d1d8e70365f0d85e8ed72e (patch) | |
tree | 26d7a346f3b798a477377e23fc748c6c06ef572c /gdb/common/common-utils.h | |
parent | af8c469b2367e94df07d22fd9d6f64617f5f2e80 (diff) | |
download | gdb-2b6347507c36980533d1d8e70365f0d85e8ed72e.tar.gz |
* 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 030bcc5305f..58fa3f98b5d 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); |