From 98e7fe0e6a4b7ee298fffadcf232867ffeecbad6 Mon Sep 17 00:00:00 2001 From: bz Date: Sat, 13 Dec 2008 19:13:03 +0000 Subject: Second round of putting global variables, which were virtualized but formerly missed under VIMAGE_GLOBAL. Put 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. Sponsored by: The FreeBSD Foundation --- sys/netipsec/ipip_var.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/netipsec') diff --git a/sys/netipsec/ipip_var.h b/sys/netipsec/ipip_var.h index 7fbc643..3d4ee15 100644 --- a/sys/netipsec/ipip_var.h +++ b/sys/netipsec/ipip_var.h @@ -60,6 +60,8 @@ struct ipipstat #ifdef _KERNEL extern int ipip_allow; +#ifdef VIMAGE_GLOBALS extern struct ipipstat ipipstat; +#endif #endif /* _KERNEL */ #endif /* _NETINET_IPIP_H_ */ -- cgit v1.1