Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2019 20:54:17 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354862 - head/sys/netinet6
Message-ID:  <201911192054.xAJKsHwM083898@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911192054.xAJKsHwM083898>