diff options
Diffstat (limited to 'sys/netipx')
-rw-r--r-- | sys/netipx/ipx.h | 4 | ||||
-rw-r--r-- | sys/netipx/ipx_if.h | 2 | ||||
-rw-r--r-- | sys/netipx/ipx_ip.h | 6 | ||||
-rw-r--r-- | sys/netipx/ipx_pcb.h | 26 | ||||
-rw-r--r-- | sys/netipx/ipx_var.h | 32 | ||||
-rw-r--r-- | sys/netipx/spx.h | 12 | ||||
-rw-r--r-- | sys/netipx/spx_debug.h | 4 |
7 files changed, 43 insertions, 43 deletions
diff --git a/sys/netipx/ipx.h b/sys/netipx/ipx.h index f282d40..e633efb 100644 --- a/sys/netipx/ipx.h +++ b/sys/netipx/ipx.h @@ -162,8 +162,8 @@ struct ipx { #include <sys/cdefs.h> __BEGIN_DECLS -struct ipx_addr ipx_addr __P((const char *)); -char *ipx_ntoa __P((struct ipx_addr)); +struct ipx_addr ipx_addr(const char *); +char *ipx_ntoa(struct ipx_addr); __END_DECLS #endif /* !_NETIPX_IPX_H_ */ diff --git a/sys/netipx/ipx_if.h b/sys/netipx/ipx_if.h index 1086735..48a4d08 100644 --- a/sys/netipx/ipx_if.h +++ b/sys/netipx/ipx_if.h @@ -91,7 +91,7 @@ struct ipxip_req { extern struct ifqueue ipxintrq; /* IPX input packet queue */ extern struct ipx_ifaddr *ipx_ifaddr; -struct ipx_ifaddr *ipx_iaonnetof __P((struct ipx_addr *dst)); +struct ipx_ifaddr *ipx_iaonnetof(struct ipx_addr *dst); #endif #endif /* !_NETIPX_IPX_IF_H_ */ diff --git a/sys/netipx/ipx_ip.h b/sys/netipx/ipx_ip.h index 2aeac7b..2eb3c8e 100644 --- a/sys/netipx/ipx_ip.h +++ b/sys/netipx/ipx_ip.h @@ -51,9 +51,9 @@ struct ifnet_en { #ifdef _KERNEL -void ipxip_ctlinput __P((int cmd, struct sockaddr *sa, void *arg)); -void ipxip_input __P((struct mbuf *m, int hlen)); -int ipxip_route __P((struct socket *so, struct sockopt *sopt)); +void ipxip_ctlinput(int cmd, struct sockaddr *sa, void *arg); +void ipxip_input(struct mbuf *m, int hlen); +int ipxip_route(struct socket *so, struct sockopt *sopt); #endif diff --git a/sys/netipx/ipx_pcb.h b/sys/netipx/ipx_pcb.h index 482f812..cd1bfe5 100644 --- a/sys/netipx/ipx_pcb.h +++ b/sys/netipx/ipx_pcb.h @@ -82,20 +82,20 @@ struct ipxpcb { #ifdef _KERNEL extern struct ipxpcb ipxpcb; /* head of list */ -int ipx_pcballoc __P((struct socket *so, struct ipxpcb *head, - struct thread *p)); -int ipx_pcbbind __P((struct ipxpcb *ipxp, struct sockaddr *nam, - struct thread *p)); -int ipx_pcbconnect __P((struct ipxpcb *ipxp, struct sockaddr *nam, - struct thread *p)); -void ipx_pcbdetach __P((struct ipxpcb *ipxp)); -void ipx_pcbdisconnect __P((struct ipxpcb *ipxp)); +int ipx_pcballoc(struct socket *so, struct ipxpcb *head, + struct thread *p); +int ipx_pcbbind(struct ipxpcb *ipxp, struct sockaddr *nam, + struct thread *p); +int ipx_pcbconnect(struct ipxpcb *ipxp, struct sockaddr *nam, + struct thread *p); +void ipx_pcbdetach(struct ipxpcb *ipxp); +void ipx_pcbdisconnect(struct ipxpcb *ipxp); struct ipxpcb * - ipx_pcblookup __P((struct ipx_addr *faddr, int lport, int wildp)); -void ipx_pcbnotify __P((struct ipx_addr *dst, int errno, - void (*notify)(struct ipxpcb *), long param)); -void ipx_setpeeraddr __P((struct ipxpcb *ipxp, struct sockaddr **nam)); -void ipx_setsockaddr __P((struct ipxpcb *ipxp, struct sockaddr **nam)); + ipx_pcblookup(struct ipx_addr *faddr, int lport, int wildp); +void ipx_pcbnotify(struct ipx_addr *dst, int errno, + void (*notify)(struct ipxpcb *), long param); +void ipx_setpeeraddr(struct ipxpcb *ipxp, struct sockaddr **nam); +void ipx_setsockaddr(struct ipxpcb *ipxp, struct sockaddr **nam); #endif /* _KERNEL */ #endif /* !_NETIPX_IPX_PCB_H_ */ diff --git a/sys/netipx/ipx_var.h b/sys/netipx/ipx_var.h index 7e7b5ef..de67691 100644 --- a/sys/netipx/ipx_var.h +++ b/sys/netipx/ipx_var.h @@ -86,22 +86,22 @@ struct sockaddr; struct socket; struct sockopt; -void ipx_abort __P((struct ipxpcb *ipxp)); -u_short ipx_cksum __P((struct mbuf *m, int len)); -int ipx_control __P((struct socket *so, u_long cmd, caddr_t data, - struct ifnet *ifp, struct thread *td)); -void ipx_ctlinput __P((int cmd, struct sockaddr *arg_as_sa, void *dummy)); -int ipx_ctloutput __P((struct socket *so, struct sockopt *sopt)); -void ipx_drop __P((struct ipxpcb *ipxp, int errno)); -void ipx_init __P((void)); -void ipx_input __P((struct mbuf *m, struct ipxpcb *ipxp)); -void ipxintr __P((void)); -int ipx_outputfl __P((struct mbuf *m0, struct route *ro, int flags)); -int ipx_output_type20 __P((struct mbuf *)); -int ipx_peeraddr __P((struct socket *so, struct sockaddr **nam)); -void ipx_printhost __P((struct ipx_addr *addr)); -int ipx_sockaddr __P((struct socket *so, struct sockaddr **nam)); -void ipx_watch_output __P((struct mbuf *m, struct ifnet *ifp)); +void ipx_abort(struct ipxpcb *ipxp); +u_short ipx_cksum(struct mbuf *m, int len); +int ipx_control(struct socket *so, u_long cmd, caddr_t data, + struct ifnet *ifp, struct thread *td); +void ipx_ctlinput(int cmd, struct sockaddr *arg_as_sa, void *dummy); +int ipx_ctloutput(struct socket *so, struct sockopt *sopt); +void ipx_drop(struct ipxpcb *ipxp, int errno); +void ipx_init(void); +void ipx_input(struct mbuf *m, struct ipxpcb *ipxp); +void ipxintr(void); +int ipx_outputfl(struct mbuf *m0, struct route *ro, int flags); +int ipx_output_type20(struct mbuf *); +int ipx_peeraddr(struct socket *so, struct sockaddr **nam); +void ipx_printhost(struct ipx_addr *addr); +int ipx_sockaddr(struct socket *so, struct sockaddr **nam); +void ipx_watch_output(struct mbuf *m, struct ifnet *ifp); #endif /* _KERNEL */ diff --git a/sys/netipx/spx.h b/sys/netipx/spx.h index 0cf9829..e496aec 100644 --- a/sys/netipx/spx.h +++ b/sys/netipx/spx.h @@ -172,12 +172,12 @@ struct spxpcb { extern struct pr_usrreqs spx_usrreqs; extern struct pr_usrreqs spx_usrreq_sps; -void spx_ctlinput __P((int cmd, struct sockaddr *arg_as_sa, void *dummy)); -int spx_ctloutput __P((struct socket *so, struct sockopt *sopt)); -void spx_fasttimo __P((void)); -void spx_init __P((void)); -void spx_input __P((struct mbuf *m, struct ipxpcb *ipxp)); -void spx_slowtimo __P((void)); +void spx_ctlinput(int cmd, struct sockaddr *arg_as_sa, void *dummy); +int spx_ctloutput(struct socket *so, struct sockopt *sopt); +void spx_fasttimo(void); +void spx_init(void); +void spx_input(struct mbuf *m, struct ipxpcb *ipxp); +void spx_slowtimo(void); #endif /* _KERNEL */ diff --git a/sys/netipx/spx_debug.h b/sys/netipx/spx_debug.h index e602bb9d..b60618c 100644 --- a/sys/netipx/spx_debug.h +++ b/sys/netipx/spx_debug.h @@ -72,8 +72,8 @@ extern char *prurequests[]; extern char *sanames[]; extern char *tcpstates[]; -void spx_trace __P((int act, int ostate, struct spxpcb *sp, struct spx *si, - int req)); +void spx_trace(int act, int ostate, struct spxpcb *sp, struct spx *si, + int req); #endif #endif /* !_NETIPX_SPX_DEBUG_H_ */ |