aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorDavid Hendricks <dhendricks@fb.com>2018-01-28 18:01:10 -0800
committerPatrick Georgi <pgeorgi@google.com>2018-04-09 08:18:16 +0000
commit6053a9ce05c1ca9c8919689fd766e14f4a8b4884 (patch)
tree26a227637a18b74a5d9d53ea6b0fb646e76dff77 /src/console
parentb90c0d90cff03e5f7cbf2c3413f8766983589762 (diff)
console: Expose vsnprintf
It's a standard function. Change-Id: I039cce2dfc4e168804eb7d12b76a29af712ac7a1 Signed-off-by: David Hendricks <dhendricks@fb.com> Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/23616 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
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;