mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
style(9) requires an empty line when function have no local variables.
Suggested by: ae @ Sponsored by: DARPA, AFRL
This commit is contained in:
parent
8278e27fd2
commit
dd0118aeef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266879
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user