diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-03-28 15:48:00 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-03-28 15:48:00 +0000 |
| commit | 56dc72c3b610642d959131220730ed9aff9d5698 (patch) | |
| tree | 9944cb6cc29bd4993a86c1b4710989c9ec2717dc /sys/netinet/tcp_usrreq.c | |
| parent | 1c6f63018d08de4401f8f07c371487958ae4121c (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
| -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 88eb78172d92..2d8f9e780499 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; |
