From 00e23cd96998deae429508efa10545be13420379 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 20 Nov 2018 11:55:55 +0000 Subject: util: use standard name for vasprintf() Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt Reviewed-by: Emil Velikov Reviewed-by: Eric Anholt --- src/gallium/auxiliary/util/u_async_debug.c | 2 +- src/gallium/auxiliary/util/u_log.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium') diff --git a/src/gallium/auxiliary/util/u_async_debug.c b/src/gallium/auxiliary/util/u_async_debug.c index 04faa6850e7..d7aefbfe46b 100644 --- a/src/gallium/auxiliary/util/u_async_debug.c +++ b/src/gallium/auxiliary/util/u_async_debug.c @@ -40,7 +40,7 @@ u_async_debug_message(void *data, unsigned *id, enum pipe_debug_type type, char *text; int r; - r = util_vasprintf(&text, fmt, args); + r = vasprintf(&text, fmt, args); if (r < 0) return; diff --git a/src/gallium/auxiliary/util/u_log.c b/src/gallium/auxiliary/util/u_log.c index 095421edd06..4e261500a03 100644 --- a/src/gallium/auxiliary/util/u_log.c +++ b/src/gallium/auxiliary/util/u_log.c @@ -130,7 +130,7 @@ u_log_printf(struct u_log_context *ctx, const char *fmt, ...) char *str = NULL; va_start(va, fmt); - int ret = util_vasprintf(&str, fmt, va); + int ret = vasprintf(&str, fmt, va); va_end(va); if (ret >= 0) { -- cgit v1.2.3