summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/tcp_debug.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 21:47:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 21:47:37 +0000
commitff0f694d466fb114c185bf464811658f97d012f1 (patch)
tree1eef0becdabdf6a9902d265a84fc9bf9fd9389d5 /cpukit/libnetworking/netinet/tcp_debug.c
parentchanged version to 980820-BSD (diff)
downloadrtems-ff0f694d466fb114c185bf464811658f97d012f1.tar.bz2
Fixed many warnings.
Diffstat (limited to 'cpukit/libnetworking/netinet/tcp_debug.c')
-rw-r--r--cpukit/libnetworking/netinet/tcp_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libnetworking/netinet/tcp_debug.c b/cpukit/libnetworking/netinet/tcp_debug.c
index b90ff79ac8..864a01cb1a 100644
--- a/cpukit/libnetworking/netinet/tcp_debug.c
+++ b/cpukit/libnetworking/netinet/tcp_debug.c
@@ -86,8 +86,10 @@ tcp_trace(act, ostate, tp, ti, req)
struct tcpiphdr *ti;
int req;
{
+#ifdef TCPDEBUG
tcp_seq seq, ack;
int len, flags;
+#endif
struct tcp_debug *td = &tcp_debug[tcp_debx++];
if (tcp_debx == TCP_NDEBUG)