mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
pf: Use proper prototype for SYSINIT functions
MFC after: 1 week (cherry picked from commit 0ce8c20fcd44c1595b42fcb540913d3802edd438) (cherry picked from commit 34462748d79a6e2ea8215564286f97e93670dfbb)
This commit is contained in:
parent
2c6944f6f6
commit
2e22159dcc
1 changed files with 2 additions and 2 deletions
|
|
@ -266,7 +266,7 @@ static void dehook_pf_eth(void);
|
|||
static void dehook_pf(void);
|
||||
static int shutdown_pf(void);
|
||||
static int pf_load(void);
|
||||
static void pf_unload(void);
|
||||
static void pf_unload(void *);
|
||||
|
||||
static struct cdevsw pf_cdevsw = {
|
||||
.d_ioctl = pfioctl,
|
||||
|
|
@ -6923,7 +6923,7 @@ pf_unload_vnet(void)
|
|||
}
|
||||
|
||||
static void
|
||||
pf_unload(void)
|
||||
pf_unload(void *dummy __unused)
|
||||
{
|
||||
|
||||
sx_xlock(&pf_end_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue