diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-19 21:25:46 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-19 21:25:46 +0000 |
commit | 357e37e023059920b1f80494e489797e2f69a3dd (patch) | |
tree | 7ea68f3b5c452a55df6c05b903dae3ac1e8f71f9 /sys/netinet/ip_encap.h | |
parent | ca2e5c188ee68045b54a86bfefcfd4a75e174221 (diff) | |
download | FreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.zip FreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.tar.gz |
Remove __P.
Diffstat (limited to 'sys/netinet/ip_encap.h')
-rw-r--r-- | sys/netinet/ip_encap.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/netinet/ip_encap.h b/sys/netinet/ip_encap.h index 94f534b..518f502 100644 --- a/sys/netinet/ip_encap.h +++ b/sys/netinet/ip_encap.h @@ -43,22 +43,22 @@ struct encaptab { struct sockaddr_storage srcmask; struct sockaddr_storage dst; /* remote addr */ struct sockaddr_storage dstmask; - int (*func) __P((const struct mbuf *, int, int, void *)); + int (*func)(const struct mbuf *, int, int, void *); const struct protosw *psw; /* only pr_input will be used */ void *arg; /* passed via m->m_pkthdr.aux */ }; -void encap_init __P((void)); -void encap4_input __P((struct mbuf *, int)); -int encap6_input __P((struct mbuf **, int *, int)); -const struct encaptab *encap_attach __P((int, int, const struct sockaddr *, +void encap_init(void); +void encap4_input(struct mbuf *, int); +int encap6_input(struct mbuf **, int *, int); +const struct encaptab *encap_attach(int, int, const struct sockaddr *, const struct sockaddr *, const struct sockaddr *, - const struct sockaddr *, const struct protosw *, void *)); -const struct encaptab *encap_attach_func __P((int, int, - int (*) __P((const struct mbuf *, int, int, void *)), - const struct protosw *, void *)); -int encap_detach __P((const struct encaptab *)); -void *encap_getarg __P((struct mbuf *)); + const struct sockaddr *, const struct protosw *, void *); +const struct encaptab *encap_attach_func(int, int, + int (*)(const struct mbuf *, int, int, void *), + const struct protosw *, void *); +int encap_detach(const struct encaptab *); +void *encap_getarg(struct mbuf *); #endif #endif /*_NETINET_IP_ENCAP_H_*/ |