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:
Bjoern A. Zeeb 2016-01-22 18:35:11 +00:00
parent 8bdb5261e6
commit 4ce8702050

View File

@ -89,13 +89,14 @@ sctp_init(void)
#endif
}
#ifdef VIMAGE
static void
sctp_finish(void)
sctp_finish(void *unused __unused)
{
sctp_pcb_finish();
}
VNET_SYSUNINIT(sctp, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH, sctp_finish, NULL);
#endif
void
sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_t nxtsz)