summaryrefslogtreecommitdiffstats
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-06-22 15:07:12 +0000
committerbz <bz@FreeBSD.org>2009-06-22 15:07:12 +0000
commit425e742e5927cf7a386fed53bb14943750dcb734 (patch)
tree90da8ea72aab09e3ece9fae3a7628931fe9ff0a0 /sys/net/route.h
parentce1f4c0ee481496675b4ae8cf80af2a542e64392 (diff)
downloadFreeBSD-src-425e742e5927cf7a386fed53bb14943750dcb734.zip
FreeBSD-src-425e742e5927cf7a386fed53bb14943750dcb734.tar.gz
Collect all VIMAGE_GLOBALS variables in one place.
No longer export rt_tables as all lookups go through rt_tables_get_rnh(). We cannot make rt_tables (and rtstat, rttrash[1]) static as netstat -r (-rs[1]) would stop working on a stripped VIMAGE_GLOBALS kernel. Reviewed by: zec Presumably broken by: phk 13.5y ago in r12820 [1]
Diffstat (limited to 'sys/net/route.h')
-rw-r--r--sys/net/route.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index ca77483..ea5bb07 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -373,7 +373,6 @@ struct rt_addrinfo {
} \
} while (0)
-extern struct radix_node_head *rt_tables;
struct radix_node_head *rt_tables_get_rnh(int, int);
struct ifmultiaddr;
OpenPOWER on IntegriCloud