From owner-svn-src-all@FreeBSD.ORG Thu Nov 6 12:19:40 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B4EA39B; Thu, 6 Nov 2014 12:19:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 5869E611; Thu, 6 Nov 2014 12:19:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA6CJeJw020287; Thu, 6 Nov 2014 12:19:40 GMT (envelope-from bz@FreeBSD.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA6CJeCf020286; Thu, 6 Nov 2014 12:19:40 GMT (envelope-from bz@FreeBSD.org) Message-Id: <201411061219.sA6CJeCf020286@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bz set sender to bz@FreeBSD.org using -f From: "Bjoern A. Zeeb" Date: Thu, 6 Nov 2014 12:19:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274173 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 12:19:40 -0000 Author: bz Date: Thu Nov 6 12:19:39 2014 New Revision: 274173 URL: https://svnweb.freebsd.org/changeset/base/274173 Log: After the changes in r274118 make NOIP kernels compile by hiding an otherwise unused variable declaration behind INET6 || INET. MFC after: 27 days X-MFS with: r274118 Modified: head/sys/kern/vfs_export.c Modified: head/sys/kern/vfs_export.c ============================================================================== --- head/sys/kern/vfs_export.c Thu Nov 6 11:08:02 2014 (r274172) +++ head/sys/kern/vfs_export.c Thu Nov 6 12:19:39 2014 (r274173) @@ -103,7 +103,9 @@ vfs_hang_addrlist(struct mount *mp, stru register int i; struct radix_node *rn; struct sockaddr *saddr, *smask = 0; +#if defined(INET6) || defined(INET) int off; +#endif int error; /*