diff options
author | peter <peter@FreeBSD.org> | 2001-06-15 00:37:27 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-15 00:37:27 +0000 |
commit | 89d8e7c7546d2bcd7666487fe24dbca2b5f35158 (patch) | |
tree | 0261262737b0ea4d598eb505386cc6bb577f25c5 /sys | |
parent | 07d710ea392ac871d88e67bc48fb9bd5bb78d61a (diff) | |
download | FreeBSD-src-89d8e7c7546d2bcd7666487fe24dbca2b5f35158.zip FreeBSD-src-89d8e7c7546d2bcd7666487fe24dbca2b5f35158.tar.gz |
Fix a stack of KAME netinet6/in6.h warnings:
592: warning: `struct mbuf' declared inside parameter list
595: warning: `struct ifnet' declared inside parameter list
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/in.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 65f8a8e..c4f944d 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -472,14 +472,16 @@ struct ip_mreq { { "fastforwarding", CTLTYPE_INT }, \ } +#ifdef _KERNEL +struct ifnet; struct mbuf; /* forward declarations for Standard C */ +#endif + /* INET6 stuff */ #define __KAME_NETINET_IN_H_INCLUDED_ #include <netinet6/in6.h> #undef __KAME_NETINET_IN_H_INCLUDED_ #ifdef _KERNEL -struct ifnet; struct mbuf; /* forward declarations for Standard C */ -struct proc; int in_broadcast __P((struct in_addr, struct ifnet *)); int in_canforward __P((struct in_addr)); |