From owner-svn-src-projects@freebsd.org Fri Jan 22 18:35:12 2016 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 919BCA8D434 for ; Fri, 22 Jan 2016 18:35:12 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64A331FEB; Fri, 22 Jan 2016 18:35:12 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0MIZBa0078860; Fri, 22 Jan 2016 18:35:11 GMT (envelope-from bz@FreeBSD.org) Received: (from bz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0MIZBGp078859; Fri, 22 Jan 2016 18:35:11 GMT (envelope-from bz@FreeBSD.org) Message-Id: <201601221835.u0MIZBGp078859@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bz set sender to bz@FreeBSD.org using -f From: "Bjoern A. Zeeb" Date: Fri, 22 Jan 2016 18:35:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r294586 - projects/vnet/sys/netinet X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 18:35:12 -0000 Author: bz Date: Fri Jan 22 18:35:11 2016 New Revision: 294586 URL: https://svnweb.freebsd.org/changeset/base/294586 Log: 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 Modified: projects/vnet/sys/netinet/sctp_usrreq.c Modified: projects/vnet/sys/netinet/sctp_usrreq.c ============================================================================== --- projects/vnet/sys/netinet/sctp_usrreq.c Fri Jan 22 18:29:02 2016 (r294585) +++ projects/vnet/sys/netinet/sctp_usrreq.c Fri Jan 22 18:35:11 2016 (r294586) @@ -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)