aboutsummaryrefslogtreecommitdiff
path: root/sys/net/hostcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/hostcache.h')
-rw-r--r--sys/net/hostcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/hostcache.h b/sys/net/hostcache.h
index 3158db9dc8c3..c0b0f12c9076 100644
--- a/sys/net/hostcache.h
+++ b/sys/net/hostcache.h
@@ -49,7 +49,7 @@
#include <sys/queue.h>
struct hcentry {
- LIST_ENTRY(hcentry) hc_link;
+ LIST_ENTRY(struct hcentry) hc_link;
struct timeval hc_idlesince; /* time last ref dropped */
struct sockaddr *hc_host; /* address of this entry's host */
struct rtentry *hc_rt; /* route to get there */
@@ -64,7 +64,7 @@ struct hccallback {
u_long (*hccb_bump)(u_long);
};
-LIST_HEAD(hchead, hcentry);
+LIST_HEAD(hchead, struct hcentry);
struct hctable {
u_long hct_nentries;