aboutsummaryrefslogtreecommitdiff
path: root/sys/net/raw_cb.h
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2008-12-11 16:26:38 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2008-12-11 16:26:38 +0000
commit86413abf5fc300eb43a4207175bfa7ff88eefa1f (patch)
tree969ea1192ccca86b51199d256a5beea929f92162 /sys/net/raw_cb.h
parenta7286c4a43374bfbe9ad8ae51a757fe9a486ab31 (diff)
downloadsrc-86413abf5fc300eb43a4207175bfa7ff88eefa1f.tar.gz
src-86413abf5fc300eb43a4207175bfa7ff88eefa1f.zip
Put a global variables, which were virtualized but formerly
missed under VIMAGE_GLOBAL. Start putting the extern declarations of the virtualized globals under VIMAGE_GLOBAL as the globals themsevles are already. This will help by the time when we are going to remove the globals entirely. While there garbage collect a few dead externs from ip6_var.h. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=185937
Diffstat (limited to 'sys/net/raw_cb.h')
-rw-r--r--sys/net/raw_cb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/raw_cb.h b/sys/net/raw_cb.h
index 34dd875a8a0b..ffdf7317ac36 100644
--- a/sys/net/raw_cb.h
+++ b/sys/net/raw_cb.h
@@ -55,7 +55,9 @@ struct rawcb {
#define RAWRCVQ 8192
#ifdef _KERNEL
+#ifdef VIMAGE_GLOBALS
extern LIST_HEAD(rawcb_list_head, rawcb) rawcb_list;
+#endif
extern struct mtx rawcb_mtx;
/*