diff options
Diffstat (limited to 'sys/net/if_media.h')
-rw-r--r-- | sys/net/if_media.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h index 2ed5ed0..ea7bfb7 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -64,7 +64,7 @@ typedef void (*ifm_stat_cb_t) __P((struct ifnet *ifp, struct ifmediareq *req)); * In-kernel representation of a single supported media type. */ struct ifmedia_entry { - LIST_ENTRY(ifmedia_entry) ifm_list; + LIST_ENTRY(struct ifmedia_entry) ifm_list; int ifm_media; /* description of this media attachment */ int ifm_data; /* for driver-specific use */ void *ifm_aux; /* for driver-specific use */ @@ -78,7 +78,7 @@ struct ifmedia { int ifm_mask; /* mask of changes we don't care about */ int ifm_media; /* current user-set media word */ struct ifmedia_entry *ifm_cur; /* currently selected media */ - LIST_HEAD(, ifmedia_entry) ifm_list; /* list of all supported media */ + LIST_HEAD(, struct ifmedia_entry) ifm_list; /* list of all supported media */ ifm_change_cb_t ifm_change; /* media change driver callback */ ifm_stat_cb_t ifm_status; /* media status driver callback */ }; |