From 7af475098b48b3338b884f738e7360ad55d4a14d Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 7 May 2021 16:41:02 +0200 Subject: xmalloc: export xvasprintf() --- xmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmalloc.c') diff --git a/xmalloc.c b/xmalloc.c index 28af50f9..9e305061 100644 --- a/xmalloc.c +++ b/xmalloc.c @@ -71,7 +71,7 @@ xvasprintf_(char **strp, const char *format, va_list ap) return vsnprintf(*strp, n + 1, format, ap); } -static VPRINTF(1) char * +char * xvasprintf(const char *format, va_list ap) { char *str; -- cgit v1.3