Correct function arguments for SYSUNINITs.
Add #ifdef VIMAGE, as in other cases it's dead code. Obtained from: p4 @180832 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8bdb5261e6
commit
4ce8702050
@ -89,13 +89,14 @@ sctp_init(void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef VIMAGE
|
||||||
static void
|
static void
|
||||||
sctp_finish(void)
|
sctp_finish(void *unused __unused)
|
||||||
{
|
{
|
||||||
sctp_pcb_finish();
|
sctp_pcb_finish();
|
||||||
}
|
}
|
||||||
VNET_SYSUNINIT(sctp, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH, sctp_finish, NULL);
|
VNET_SYSUNINIT(sctp, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH, sctp_finish, NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_t nxtsz)
|
sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_t nxtsz)
|
||||||
|
Loading…
Reference in New Issue
Block a user