summaryrefslogtreecommitdiffstats
path: root/sys/netinet/icmp6.h
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/netinet/icmp6.h
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/netinet/icmp6.h')
-rw-r--r--sys/netinet/icmp6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h
index 91b1658..fcdc9ce 100644
--- a/sys/netinet/icmp6.h
+++ b/sys/netinet/icmp6.h
@@ -707,8 +707,10 @@ do { \
} \
} while (/*CONSTCOND*/ 0)
+#ifdef VIMAGE_GLOBALS
extern int icmp6_rediraccept; /* accept/process redirects */
extern int icmp6_redirtimeout; /* cache time for redirect routes */
+#endif
#define ICMP6_NODEINFO_FQDNOK 0x1
#define ICMP6_NODEINFO_NODEADDROK 0x2
OpenPOWER on IntegriCloud