diff options
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 88eb781..2d8f9e7 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -90,7 +90,7 @@ */ extern char *tcpstates[]; /* XXX ??? */ -static int tcp_attach(struct socket *, struct thread *td); +static int tcp_attach(struct socket *); static int tcp_connect(struct tcpcb *, struct sockaddr *, struct thread *td); #ifdef INET6 @@ -134,7 +134,7 @@ tcp_usr_attach(struct socket *so, int proto, struct thread *td) goto out; } - error = tcp_attach(so, td); + error = tcp_attach(so); if (error) goto out; @@ -1188,9 +1188,8 @@ SYSCTL_INT(_net_inet_tcp, TCPCTL_RECVSPACE, recvspace, CTLFLAG_RW, * bufer space, and entering LISTEN state if to accept connections. */ static int -tcp_attach(so, td) +tcp_attach(so) struct socket *so; - struct thread *td; { register struct tcpcb *tp; struct inpcb *inp; |