Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet make this compile without rnd.



details:   https://anonhg.NetBSD.org/src/rev/5991f5f25887
branches:  trunk
changeset: 507382:5991f5f25887
user:      chs <chs%NetBSD.org@localhost>
date:      Wed Mar 21 03:35:11 2001 +0000

description:
make this compile without rnd.

diffstat:

 sys/netinet/tcp_subr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r e95e46866bbf -r 5991f5f25887 sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c    Wed Mar 21 03:19:35 2001 +0000
+++ b/sys/netinet/tcp_subr.c    Wed Mar 21 03:35:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_subr.c,v 1.108 2001/03/20 20:07:51 thorpej Exp $   */
+/*     $NetBSD: tcp_subr.c,v 1.109 2001/03/21 03:35:11 chs Exp $       */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -1756,10 +1756,11 @@
 tcp_new_iss1(void *laddr, void *faddr, u_int16_t lport, u_int16_t fport,
     size_t addrsz, tcp_seq addin)
 {
-       static int beenhere;
        tcp_seq tcp_iss;
 
 #if NRND > 0
+       static int beenhere;
+
        /*
         * If we haven't been here before, initialize our cryptographic
         * hash secret.



Home | Main Index | Thread Index | Old Index