summaryrefslogtreecommitdiffstats
path: root/sys/net/raw_cb.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-12-11 16:26:38 +0000
committerbz <bz@FreeBSD.org>2008-12-11 16:26:38 +0000
commit83a32f8750135cc82be5727b54cb42797923009b (patch)
tree969ea1192ccca86b51199d256a5beea929f92162 /sys/net/raw_cb.h
parent83955c51afc9c7fd1b9b5164cbbbf65f1706262b (diff)
downloadFreeBSD-src-83a32f8750135cc82be5727b54cb42797923009b.zip
FreeBSD-src-83a32f8750135cc82be5727b54cb42797923009b.tar.gz
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
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 34dd875..ffdf731 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;
/*
OpenPOWER on IntegriCloud