From dd0118aeefaa360a85a35656cb13f3b439896f89 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Fri, 30 May 2014 10:18:01 +0000 Subject: [PATCH] style(9) requires an empty line when function have no local variables. Suggested by: ae @ Sponsored by: DARPA, AFRL --- lib/libstand/printf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libstand/printf.c b/lib/libstand/printf.c index 1a86e93d9258..157b327ead88 100644 --- a/lib/libstand/printf.c +++ b/lib/libstand/printf.c @@ -64,6 +64,7 @@ static int kvprintf(char const *fmt, kvprintf_fn_t *func, void *arg, int radix, static void putchar_wrapper(int cc, void *arg) { + putchar(cc); } @@ -82,6 +83,7 @@ printf(const char *fmt, ...) void vprintf(const char *fmt, va_list ap) { + kvprintf(fmt, putchar_wrapper, NULL, 10, ap); }