From owner-svn-src-all@FreeBSD.ORG Wed Nov 5 11:54:56 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B6B81065670; Wed, 5 Nov 2008 11:54:56 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4AC318FC27; Wed, 5 Nov 2008 11:54:56 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA5BsuUH026118; Wed, 5 Nov 2008 11:54:56 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA5Bsurw026117; Wed, 5 Nov 2008 11:54:56 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200811051154.mA5Bsurw026117@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Wed, 5 Nov 2008 11:54:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184681 - head/sys/net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 05 Nov 2008 11:54:56 -0000 Author: bz Date: Wed Nov 5 11:54:56 2008 New Revision: 184681 URL: http://svn.freebsd.org/changeset/base/184681 Log: Hide the IPv4 init function if the kernel is compiled without INET. It is not used in that case and would not compile. Modified: head/sys/net/radix_mpath.c Modified: head/sys/net/radix_mpath.c ============================================================================== --- head/sys/net/radix_mpath.c Wed Nov 5 11:43:01 2008 (r184680) +++ head/sys/net/radix_mpath.c Wed Nov 5 11:54:56 2008 (r184681) @@ -36,6 +36,7 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_inet.h" #include "opt_inet6.h" #include @@ -308,6 +309,7 @@ rtalloc_mpath_fib(struct route *ro, u_in extern int in6_inithead(void **head, int off); extern int in_inithead(void **head, int off); +#ifdef INET int rn4_mpath_inithead(void **head, int off) { @@ -321,6 +323,7 @@ rn4_mpath_inithead(void **head, int off) } else return 0; } +#endif #ifdef INET6 int