diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-05-30 10:18:01 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-05-30 10:18:01 +0000 |
commit | 4c1dfc88066cb39866b10f9b40a35919f707a0aa (patch) | |
tree | ee0c0aa2949314aa2202a1557d8460b06bbba6ac | |
parent | 6b258c1f8041dabc6c5e1a8a940efe3c54c115a3 (diff) | |
download | FreeBSD-src-4c1dfc88066cb39866b10f9b40a35919f707a0aa.zip FreeBSD-src-4c1dfc88066cb39866b10f9b40a35919f707a0aa.tar.gz |
style(9) requires an empty line when function have no local variables.
Suggested by: ae @
Sponsored by: DARPA, AFRL
-rw-r--r-- | lib/libstand/printf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libstand/printf.c b/lib/libstand/printf.c index 1a86e93..157b327 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); } |