Author: kmacy
Date: Thu May 13 19:36:13 2010
New Revision: 208042
URL: http://svn.freebsd.org/changeset/base/208042

Log:
  fix compile error on some builds by doing the equivalent of
  an "extern VNET_DEFINE" without "__used"
  
  MFC after:    3 days

Modified:
  head/sys/netinet6/ip6_input.c

Modified: head/sys/netinet6/ip6_input.c
==============================================================================
--- head/sys/netinet6/ip6_input.c       Thu May 13 18:17:01 2010        
(r208041)
+++ head/sys/netinet6/ip6_input.c       Thu May 13 19:36:13 2010        
(r208042)
@@ -116,7 +116,7 @@ __FBSDID("$FreeBSD$");
 
 #ifdef FLOWTABLE
 #include <net/flowtable.h>
-extern VNET_DEFINE(int, ip6_output_flowtable_size);
+extern int VNET_NAME(ip6_output_flowtable_size) __section(VNET_SETNAME);
 #define        V_ip6_output_flowtable_size     VNET(ip6_output_flowtable_size)
 #endif
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to