mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Forward declare mbuf and inpcb.
This fixes a compiler warning at WARNS=6 when including the header files as follows: #include <sys/types.h> #include <netinet/in.h> #include <netinet/ip_var.h> #include <netinet/udp.h> #include <netinet/udp_var.h>
This commit is contained in:
parent
0c60230835
commit
3fa417554b
1 changed files with 3 additions and 0 deletions
|
|
@ -51,6 +51,9 @@ struct udpiphdr {
|
|||
#define ui_ulen ui_u.uh_ulen
|
||||
#define ui_sum ui_u.uh_sum
|
||||
|
||||
struct inpcb;
|
||||
struct mbuf;
|
||||
|
||||
typedef void(*udp_tun_func_t)(struct mbuf *, int off, struct inpcb *);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue