mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
net: Use proper prototype for SYSINIT functions
MFC after: 1 week
(cherry picked from commit 6f8259eae61981d7e5d049be7eed9235f0e8172e)
(cherry picked from commit fa80382b99)
This commit is contained in:
parent
c760cc40f2
commit
3bf7558be1
3 changed files with 3 additions and 3 deletions
|
|
@ -87,7 +87,7 @@ static int rt_ifdelroute(const struct rtentry *rt, const struct nhop_object *,
|
|||
* SI_ORDER_MIDDLE.
|
||||
*/
|
||||
static void
|
||||
route_init(void)
|
||||
route_init(void *dummy __unused)
|
||||
{
|
||||
|
||||
nhops_init();
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ rtables_prison_destructor(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
rtables_init(void)
|
||||
rtables_init(void *dummy __unused)
|
||||
{
|
||||
osd_method_t methods[PR_MAXMETHOD] = {
|
||||
[PR_METHOD_ATTACH] = rtables_check_proc_fib,
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ rtsock_notify_event(uint32_t fibnum, const struct rib_cmd_info *rc)
|
|||
}
|
||||
|
||||
static void
|
||||
rtsock_init(void)
|
||||
rtsock_init(void *dummy __unused)
|
||||
{
|
||||
rtsbridge_orig_p = rtsock_callback_p;
|
||||
rtsock_callback_p = &rtsbridge;
|
||||
|
|
|
|||
Loading…
Reference in a new issue