Date: Fri, 27 Feb 2015 01:15:24 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279342 - head/sys/net Message-ID: <201502270115.t1R1FOT6038509@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Fri Feb 27 01:15:23 2015 New Revision: 279342 URL: https://svnweb.freebsd.org/changeset/base/279342 Log: Hide struct ifmultiaddr under _KERNEL, too. Modified: head/sys/net/if_var.h Modified: head/sys/net/if_var.h ============================================================================== --- head/sys/net/if_var.h Fri Feb 27 00:57:09 2015 (r279341) +++ head/sys/net/if_var.h Fri Feb 27 01:15:23 2015 (r279342) @@ -402,7 +402,6 @@ struct ifaddr { struct ifaddr * ifa_alloc(size_t size, int flags); void ifa_free(struct ifaddr *ifa); void ifa_ref(struct ifaddr *ifa); -#endif /* _KERNEL */ /* * Multicast address structure. This is analogous to the ifaddr @@ -418,8 +417,6 @@ struct ifmultiaddr { struct ifmultiaddr *ifma_llifma; /* pointer to ifma for ifma_lladdr */ }; -#ifdef _KERNEL - extern struct rwlock ifnet_rwlock; extern struct sx ifnet_sxlock;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502270115.t1R1FOT6038509>