From 6053a9ce05c1ca9c8919689fd766e14f4a8b4884 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Sun, 28 Jan 2018 18:01:10 -0800 Subject: console: Expose vsnprintf It's a standard function. Change-Id: I039cce2dfc4e168804eb7d12b76a29af712ac7a1 Signed-off-by: David Hendricks Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/23616 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/console/vsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/console') diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c index 4edb3ea6e6..7071611ef9 100644 --- a/src/console/vsprintf.c +++ b/src/console/vsprintf.c @@ -34,7 +34,7 @@ static void str_tx_byte(unsigned char byte, void *data) } } -static int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) +int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) { int i; struct vsnprintf_context ctx; -- cgit v1.2.3