diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-07-29 22:01:52 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-07-29 22:01:52 +0000 |
commit | f31c391d4c0b8c92c2b95b7546af80ed7089ad4a (patch) | |
tree | 71b51402962a19512c3070f6ed8d5a9377a32b42 /sys | |
parent | a55dc9cda994c552736b76ee1d6fbe4e941cab7d (diff) |
Remove random() prototype, as it's not needed. Besides it was wrong for the alpha :-)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_input.c | 5 | ||||
-rw-r--r-- | sys/netinet/tcp_subr.c | 4 | ||||
-rw-r--r-- | sys/netinet/tcp_timer.c | 5 | ||||
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 5 |
4 files changed, 4 insertions, 15 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 6b1e52774f8..21f112a7dd8 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.4 1996/07/29 06:22:12 tholo Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.5 1996/07/29 22:01:50 niklas Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -243,9 +243,6 @@ tcp_input(m, va_alist) register struct mbuf *m; #endif { -#ifndef TCP_COMPAT_42 - u_int random __P((void)); -#endif /* !TCP_COMPAT_42 */ register struct tcpiphdr *ti; register struct inpcb *inp; caddr_t optp = NULL; diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index fdb7205f2b9..09d139a31b0 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.6 1996/07/29 06:22:14 tholo Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.7 1996/07/29 22:01:50 niklas Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -94,8 +94,6 @@ tcp_init() #ifdef TCP_COMPAT_42 tcp_iss = 1; /* wrong */ #else /* TCP_COMPAT_42 */ - u_int random __P((void)); - tcp_iss = random() + 1; #endif /* !TCP_COMPAT_42 */ in_pcbinit(&tcbtable, tcbhashsize); diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index a1fecdc5383..dd075c0d120 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_timer.c,v 1.4 1996/07/29 06:22:14 tholo Exp $ */ +/* $OpenBSD: tcp_timer.c,v 1.5 1996/07/29 22:01:51 niklas Exp $ */ /* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */ /* @@ -99,9 +99,6 @@ tcp_fasttimo() void tcp_slowtimo() { -#ifndef TCP_COMPAT_42 - u_int random __P((void)); -#endif /* !TCP_COMPAT_42 */ register struct inpcb *ip, *ipnxt; register struct tcpcb *tp; int s; diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index c9917e64290..a4e731ffc85 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.5 1996/07/29 06:22:15 tholo Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.6 1996/07/29 22:01:51 niklas Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -85,9 +85,6 @@ tcp_usrreq(so, req, m, nam, control) int req; struct mbuf *m, *nam, *control; { -#ifndef TCP_COMPAT_42 - u_int random __P((void)); -#endif /* !TCP_COMPAT_42 */ register struct inpcb *inp; register struct tcpcb *tp = NULL; int s; |