Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet make it compilable with TCP_DEBUG defined
details: https://anonhg.NetBSD.org/src/rev/8d3b4ced42ed
branches: trunk
changeset: 554357:8d3b4ced42ed
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Oct 27 07:43:01 2003 +0000
description:
make it compilable with TCP_DEBUG defined
diffstat:
sys/netinet/tcp_timer.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r f629563307bc -r 8d3b4ced42ed sys/netinet/tcp_timer.c
--- a/sys/netinet/tcp_timer.c Mon Oct 27 07:39:10 2003 +0000
+++ b/sys/netinet/tcp_timer.c Mon Oct 27 07:43:01 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_timer.c,v 1.64 2003/08/07 16:33:19 agc Exp $ */
+/* $NetBSD: tcp_timer.c,v 1.65 2003/10/27 07:43:01 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -98,7 +98,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_timer.c,v 1.64 2003/08/07 16:33:19 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_timer.c,v 1.65 2003/10/27 07:43:01 itojun Exp $");
#include "opt_inet.h"
#include "opt_tcp_debug.h"
@@ -282,7 +282,7 @@
uint32_t rto;
int s;
#ifdef TCP_DEBUG
- struct socket *so;
+ struct socket *so = NULL;
short ostate;
#endif
@@ -434,7 +434,7 @@
uint32_t rto;
int s;
#ifdef TCP_DEBUG
- struct socket *so;
+ struct socket *so = NULL;
short ostate;
#endif
@@ -588,7 +588,7 @@
struct tcpcb *tp = arg;
int s;
#ifdef TCP_DEBUG
- struct socket *so;
+ struct socket *so = NULL;
short ostate;
#endif
Home |
Main Index |
Thread Index |
Old Index