From 113a24d243071d21a3c6113ce3024dbbf68fc5f6 Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 16 Dec 1995 02:14:44 +0000 Subject: 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. --- sys/netinet/tcp_timewait.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/netinet/tcp_timewait.c') diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 7520d1b..c41e84c 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.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 @@ -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; -- cgit v1.1