diff options
author | bz <bz@FreeBSD.org> | 2008-12-11 16:26:38 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-12-11 16:26:38 +0000 |
commit | 83a32f8750135cc82be5727b54cb42797923009b (patch) | |
tree | 969ea1192ccca86b51199d256a5beea929f92162 /sys/net/raw_cb.h | |
parent | 83955c51afc9c7fd1b9b5164cbbbf65f1706262b (diff) | |
download | FreeBSD-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.h | 2 |
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; /* |