From 86413abf5fc300eb43a4207175bfa7ff88eefa1f Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Thu, 11 Dec 2008 16:26:38 +0000 Subject: 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 --- sys/net/raw_cb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/net/raw_cb.h') 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; /* -- cgit v1.2.3