svn commit: r354862 - head/sys/netinet6

Bjoern A. Zeeb bz at FreeBSD.org
Tue Nov 19 20:54:18 UTC 2019


Author: bz
Date: Tue Nov 19 20:54:17 2019
New Revision: 354862
URL: https://svnweb.freebsd.org/changeset/base/354862

Log:
  nd6: make nd6_timer_ch static
  
  nd6_timer_ch is only used in file local context.  There is no need to
  export it, so make it static.
  
  MFC after:	3 weeks
  Sponsored by:	Netflix

Modified:
  head/sys/netinet6/nd6.c

Modified: head/sys/netinet6/nd6.c
==============================================================================
--- head/sys/netinet6/nd6.c	Tue Nov 19 20:34:33 2019	(r354861)
+++ head/sys/netinet6/nd6.c	Tue Nov 19 20:54:17 2019	(r354862)
@@ -145,7 +145,7 @@ static int nd6_need_cache(struct ifnet *);
 VNET_DEFINE_STATIC(struct callout, nd6_slowtimo_ch);
 #define	V_nd6_slowtimo_ch		VNET(nd6_slowtimo_ch)
 
-VNET_DEFINE(struct callout, nd6_timer_ch);
+VNET_DEFINE_STATIC(struct callout, nd6_timer_ch);
 #define	V_nd6_timer_ch			VNET(nd6_timer_ch)
 
 static void


More information about the svn-src-all mailing list