diff options
author | bde <bde@FreeBSD.org> | 1995-12-16 02:14:44 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-16 02:14:44 +0000 |
commit | 113a24d243071d21a3c6113ce3024dbbf68fc5f6 (patch) | |
tree | 94e1ead13196636285fcd186a736f2f784654100 /sys/netinet/tcp_subr.c | |
parent | a98acddd049887630b40a28d26f92685a8f965c8 (diff) | |
download | FreeBSD-src-113a24d243071d21a3c6113ce3024dbbf68fc5f6.zip FreeBSD-src-113a24d243071d21a3c6113ce3024dbbf68fc5f6.tar.gz |
Uniformized pr_ctlinput protosw functions. The third arg is now `void
*' instead of caddr_t and it isn't optional (it never was). Most of the
netipx (and netns) pr_ctlinput functions abuse the second arg instead of
using the third arg but fixing this is beyond the scope of this round
of changes.
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 7520d1b..c41e84c 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95 - * $Id: tcp_subr.c,v 1.22 1995/11/14 20:34:41 phk Exp $ + * $Id: tcp_subr.c,v 1.23 1995/12/05 17:46:43 wollman Exp $ */ #include <sys/param.h> @@ -444,11 +444,12 @@ tcp_notify(inp, error) } void -tcp_ctlinput(cmd, sa, ip) +tcp_ctlinput(cmd, sa, vip) int cmd; struct sockaddr *sa; - register struct ip *ip; + void *vip; { + register struct ip *ip = vip; register struct tcphdr *th; void (*notify) __P((struct inpcb *, int)) = tcp_notify; |