mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Provide forward declarations for struct ifnet and struct mbuf
to avoid compiler warnings.
This commit is contained in:
parent
6ec86086e7
commit
44ce4b7dcd
1 changed files with 3 additions and 0 deletions
|
|
@ -82,6 +82,9 @@ struct ether_addr {
|
|||
|
||||
#ifdef _KERNEL
|
||||
|
||||
struct ifnet;
|
||||
struct mbuf;
|
||||
|
||||
extern void (*ng_ether_input_p)(struct ifnet *ifp,
|
||||
struct mbuf **mp, struct ether_header *eh);
|
||||
extern void (*ng_ether_input_orphan_p)(struct ifnet *ifp,
|
||||
|
|
|
|||
Loading…
Reference in a new issue