]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kboot: Use (void) instead of () for functiosn with no args
authorWarner Losh <imp@FreeBSD.org>
Fri, 9 Dec 2022 14:55:42 +0000 (07:55 -0700)
committerWarner Losh <imp@FreeBSD.org>
Fri, 9 Dec 2022 14:57:50 +0000 (07:57 -0700)
commite830a6cbbe8e7ab359e871b0ba95b9b025c0ffcc
treee5b4a6bf70e109a8b82c8624833489b48920bd76
parentf6d5d31cd5d5b409851b3bf82c41a477a643a486
kboot: Use (void) instead of () for functiosn with no args

`int foo();` means 'a function that takes any number of arguments.`
not `a function that takes no arguemnts`, that's spelled `int foo(void);`
Adopt the latter.

Sponsored by: Netflix
stand/kboot/hostcons.c
stand/kboot/main.c