summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-12-13 19:13:03 +0000
committerbz <bz@FreeBSD.org>2008-12-13 19:13:03 +0000
commit98e7fe0e6a4b7ee298fffadcf232867ffeecbad6 (patch)
tree000c543641151e45c9fe34f2fa0d6c678def8f4c /sys/netipsec
parent03bced1c702a5a7827ac78973cb39290752dbfcc (diff)
downloadFreeBSD-src-98e7fe0e6a4b7ee298fffadcf232867ffeecbad6.zip
FreeBSD-src-98e7fe0e6a4b7ee298fffadcf232867ffeecbad6.tar.gz
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
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/ipip_var.h2
1 files changed, 2 insertions, 0 deletions
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_ */
OpenPOWER on IntegriCloud