From 0a0d3f132a119de65ca5c709c5522d7974567adf Mon Sep 17 00:00:00 2001 From: luigi Date: Mon, 16 Feb 2009 15:08:41 +0000 Subject: remove dependency on eventhandler.h, we only need a forward declaration --- sys/netinet/ip_fw.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/netinet/ip_fw.h') diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h index 831686d..5ee1632 100644 --- a/sys/netinet/ip_fw.h +++ b/sys/netinet/ip_fw.h @@ -682,6 +682,7 @@ typedef int ipfw_nat_t(struct ip_fw_args *, struct cfg_nat *, struct mbuf *); typedef int ipfw_nat_cfg_t(struct sockopt *); #endif +struct eventhandler_entry; /* * Stack virtualization support. */ @@ -713,7 +714,7 @@ struct vnet_ipfw { u_int32_t _dyn_max; u_int64_t _norule_counter; struct callout _ipfw_timeout; - eventhandler_tag _ifaddr_event_tag; + struct eventhandler_entry *_ifaddr_event_tag; }; #ifndef VIMAGE -- cgit v1.1