From 35b78b75204e63c285e8a17bb777654a35be9a28 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Mon, 16 Feb 2009 15:08:41 +0000 Subject: [PATCH] remove dependency on eventhandler.h, we only need a forward declaration --- sys/netinet/ip_fw.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h index 831686dd01b7..5ee1632e39d0 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