Date: Fri, 30 May 2014 10:18:01 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266879 - head/lib/libstand Message-ID: <201405301018.s4UAI16G078338@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Fri May 30 10:18:01 2014 New Revision: 266879 URL: http://svnweb.freebsd.org/changeset/base/266879 Log: style(9) requires an empty line when function have no local variables. Suggested by: ae @ Sponsored by: DARPA, AFRL Modified: head/lib/libstand/printf.c Modified: head/lib/libstand/printf.c ============================================================================== --- head/lib/libstand/printf.c Fri May 30 09:43:32 2014 (r266878) +++ head/lib/libstand/printf.c Fri May 30 10:18:01 2014 (r266879) @@ -64,6 +64,7 @@ static int kvprintf(char const *fmt, kvp 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405301018.s4UAI16G078338>