svn commit: r279342 - head/sys/net
Gleb Smirnoff
glebius at FreeBSD.org
Fri Feb 27 01:15:24 UTC 2015
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;
More information about the svn-src-head
mailing list