summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2010-05-13 19:36:13 +0000
committerkmacy <kmacy@FreeBSD.org>2010-05-13 19:36:13 +0000
commitb52d51265d0bcc12fbe587b1b7d2bf492980370c (patch)
tree4c973a3db75f1ab434dbe4a2585e8e608a0a07e3
parent1851c2019c1ce23e6cda82f1ae246f330ca8ad87 (diff)
downloadFreeBSD-src-b52d51265d0bcc12fbe587b1b7d2bf492980370c.zip
FreeBSD-src-b52d51265d0bcc12fbe587b1b7d2bf492980370c.tar.gz
fix compile error on some builds by doing the equivalent of
an "extern VNET_DEFINE" without "__used" MFC after: 3 days
-rw-r--r--sys/netinet6/ip6_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index d1d7c0c..bcb27e4 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -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
OpenPOWER on IntegriCloud