mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue