summaryrefslogtreecommitdiffstats
path: root/sys/contrib
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/contrib
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/contrib')
-rw-r--r--sys/contrib/pf/net/pf_if.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/pf/net/pf_if.c b/sys/contrib/pf/net/pf_if.c
index 62dbbf2..1972edc 100644
--- a/sys/contrib/pf/net/pf_if.c
+++ b/sys/contrib/pf/net/pf_if.c
@@ -115,8 +115,10 @@ void pfi_change_group_event(void * __unused, char *);
void pfi_detach_group_event(void * __unused, struct ifg_group *);
void pfi_ifaddr_event(void * __unused, struct ifnet *);
+#ifdef VIMAGE_GLOBALS
extern struct ifgrouphead ifg_head;
#endif
+#endif
RB_PROTOTYPE(pfi_ifhead, pfi_kif, pfik_tree, pfi_if_compare);
RB_GENERATE(pfi_ifhead, pfi_kif, pfik_tree, pfi_if_compare);
OpenPOWER on IntegriCloud