netinet: Use proper prototype for SYSINIT functions

MFC after:	1 week

(cherry picked from commit 6613b6ad1ecc5384c119018b9b27c18bd7516e3f)
This commit is contained in:
Zhenlei Huang 2025-10-13 18:12:33 +08:00
parent 0270d3dfa7
commit 5b41be5cc0
2 changed files with 2 additions and 2 deletions

View file

@ -271,7 +271,7 @@ cc_check_default(struct cc_algo *remove_cc)
* Initialise CC subsystem on system boot.
*/
static void
cc_init(void)
cc_init(void *dummy __unused)
{
CC_LIST_LOCK_INIT();
STAILQ_INIT(&cc_list);

View file

@ -767,7 +767,7 @@ struct fib_lookup_module flm_radix4 = {
};
static void
fib4_algo_init(void)
fib4_algo_init(void *dummy __unused)
{
fib_module_register(&flm_bsearch4);