From 9ff1c4634f0cef0b9889b5325945931028c0f28b Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Fri, 22 Jan 2016 18:26:58 +0000 Subject: [PATCH] Correct function arguments for SYSUNINITs. Obtained from: p4 @180886 Sponsored by: The FreeBSD Foundation --- sys/netinet/udp_usrreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index a20ad28261f8..c77455c5c2ac 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -270,7 +270,7 @@ udp_discardcb(struct udpcb *up) #ifdef VIMAGE static void -udp_destroy(void) +udp_destroy(void *unused __unused) { in_pcbinfo_destroy(&V_udbinfo); @@ -279,7 +279,7 @@ udp_destroy(void) VNET_SYSUNINIT(udp, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH, udp_destroy, NULL); static void -udplite_destroy(void) +udplite_destroy(void *unused __unused) { in_pcbinfo_destroy(&V_ulitecbinfo);