summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_pcb.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-05-11 10:38:34 +0000
committerrwatson <rwatson@FreeBSD.org>2007-05-11 10:38:34 +0000
commit972aaf598c3dd94b766cd860a8efda7dc734015b (patch)
tree8e5e97cc8785819d97ecc4c18c4d4651c9971f1b /sys/netipx/ipx_pcb.h
parent47d37a80be0931ad72e67db6ba915221afdfeb4f (diff)
downloadFreeBSD-src-972aaf598c3dd94b766cd860a8efda7dc734015b.zip
FreeBSD-src-972aaf598c3dd94b766cd860a8efda7dc734015b.tar.gz
Use ANSI C function declarations throughout netipx.
Remove 'register' use.
Diffstat (limited to 'sys/netipx/ipx_pcb.h')
-rw-r--r--sys/netipx/ipx_pcb.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/netipx/ipx_pcb.h b/sys/netipx/ipx_pcb.h
index 5b5921e..4ef6011 100644
--- a/sys/netipx/ipx_pcb.h
+++ b/sys/netipx/ipx_pcb.h
@@ -121,16 +121,15 @@ extern struct mtx ipxpcb_list_mtx;
#ifdef _KERNEL
int ipx_pcballoc(struct socket *so, struct ipxpcbhead *head,
- struct thread *p);
+ struct thread *p);
int ipx_pcbbind(struct ipxpcb *ipxp, struct sockaddr *nam,
- struct thread *p);
+ struct thread *p);
int ipx_pcbconnect(struct ipxpcb *ipxp, struct sockaddr *nam,
- struct thread *p);
+ struct thread *p);
void ipx_pcbdetach(struct ipxpcb *ipxp);
void ipx_pcbdisconnect(struct ipxpcb *ipxp);
void ipx_pcbfree(struct ipxpcb *ipxp);
-struct ipxpcb *
- ipx_pcblookup(struct ipx_addr *faddr, int lport, int wildp);
+struct ipxpcb *ipx_pcblookup(struct ipx_addr *faddr, u_short lport, int wildp);
void ipx_getpeeraddr(struct ipxpcb *ipxp, struct sockaddr **nam);
void ipx_getsockaddr(struct ipxpcb *ipxp, struct sockaddr **nam);
OpenPOWER on IntegriCloud