1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

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
This commit is contained in:
Peter Wemm 2001-06-15 00:37:27 +00:00
parent f14f48a226
commit 215db1379e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78243

View File

@ -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));