add forward declarations, and small cosmetic changes.

Submitted by: bde
This commit is contained in:
Yoshinobu Inoue 2000-01-15 05:20:40 +00:00
parent 0d18fdd0fc
commit bb913f0f78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56016
3 changed files with 15 additions and 4 deletions

View File

@ -36,7 +36,12 @@
extern int ip_gif_ttl; extern int ip_gif_ttl;
void in_gif_input __P((struct mbuf *, int off, int proto)); struct mbuf;
int in_gif_output __P((struct ifnet *, int, struct mbuf *, struct rtentry *)); struct ifnet;
struct rtentry;
void in_gif_input __P((struct mbuf *, int off, int proto));
int in_gif_output __P((struct ifnet *, int, struct mbuf *,
struct rtentry *));
#endif /*_NETINET_IN_GIF_H_*/ #endif /*_NETINET_IN_GIF_H_*/

View File

@ -34,7 +34,12 @@
#define GIF_HLIM 30 #define GIF_HLIM 30
int in6_gif_input __P((struct mbuf **, int *, int)); struct mbuf;
int in6_gif_output __P((struct ifnet *, int, struct mbuf *, struct rtentry *)); struct ifnet;
struct rtentry;
int in6_gif_input __P((struct mbuf **, int *, int));
int in6_gif_output __P((struct ifnet *, int, struct mbuf *,
struct rtentry *));
#endif /*_NETINET6_IN6_GIF_H_*/ #endif /*_NETINET6_IN6_GIF_H_*/

View File

@ -77,6 +77,7 @@
struct mbuf; struct mbuf;
struct sockaddr; struct sockaddr;
struct socket; struct socket;
struct sockopt;
struct domain; struct domain;
struct proc; struct proc;
struct ip6_hdr; struct ip6_hdr;