From f0d189ca93d36d8304a102f96ae875195d6f9317 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 30 Oct 2013 15:29:04 +0100 Subject: [PATCH] Hide global TCP debug variables --- freebsd/sys/netinet/tcp_debug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freebsd/sys/netinet/tcp_debug.h b/freebsd/sys/netinet/tcp_debug.h index c4d38da9..511a4ecd 100644 --- a/freebsd/sys/netinet/tcp_debug.h +++ b/freebsd/sys/netinet/tcp_debug.h @@ -72,9 +72,11 @@ static const char *tanames[] = #define TCP_NDEBUG 100 #ifndef _KERNEL +#ifndef __rtems__ /* XXX common variables for broken applications. */ struct tcp_debug tcp_debug[TCP_NDEBUG]; int tcp_debx; +#endif /* __rtems__ */ #endif #endif /* !_NETINET_TCP_DEBUG_H_ */