svn commit: r296432 - projects/vnet/sys/net

Bjoern A. Zeeb bz at FreeBSD.org
Sun Mar 6 18:25:36 UTC 2016


Author: bz
Date: Sun Mar  6 18:25:35 2016
New Revision: 296432
URL: https://svnweb.freebsd.org/changeset/base/296432

Log:
  Make if_vmove() static.  It's now file local.
  
  Obtained from:	p4 at 180828
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/vnet/sys/net/if.c
  projects/vnet/sys/net/if_var.h

Modified: projects/vnet/sys/net/if.c
==============================================================================
--- projects/vnet/sys/net/if.c	Sun Mar  6 18:22:24 2016	(r296431)
+++ projects/vnet/sys/net/if.c	Sun Mar  6 18:25:35 2016	(r296432)
@@ -1042,7 +1042,7 @@ if_detach_internal(struct ifnet *ifp, in
  * unused if_index in target vnet and calls if_grow() if necessary,
  * and finally find an unused if_xname for the target vnet.
  */
-void
+static void
 if_vmove(struct ifnet *ifp, struct vnet *new_vnet)
 {
 	struct if_clone *ifc;

Modified: projects/vnet/sys/net/if_var.h
==============================================================================
--- projects/vnet/sys/net/if_var.h	Sun Mar  6 18:22:24 2016	(r296431)
+++ projects/vnet/sys/net/if_var.h	Sun Mar  6 18:25:35 2016	(r296432)
@@ -535,7 +535,6 @@ void	if_dead(struct ifnet *);
 int	if_delmulti(struct ifnet *, struct sockaddr *);
 void	if_delmulti_ifma(struct ifmultiaddr *);
 void	if_detach(struct ifnet *);
-void	if_vmove(struct ifnet *, struct vnet *);
 void	if_purgeaddrs(struct ifnet *);
 void	if_delallmulti(struct ifnet *);
 void	if_down(struct ifnet *);


More information about the svn-src-projects mailing list