summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/netinet/tcp_debug.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-30 15:29:04 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 13:18:54 +0100
commitf0d189ca93d36d8304a102f96ae875195d6f9317 (patch)
tree2481708b13289d529b074425cdbf2cfe26b12a91 /freebsd/sys/netinet/tcp_debug.h
parentImplement sysctl_handle_opaque() (diff)
downloadrtems-libbsd-f0d189ca93d36d8304a102f96ae875195d6f9317.tar.bz2
Hide global TCP debug variables
Diffstat (limited to '')
-rw-r--r--freebsd/sys/netinet/tcp_debug.h2
1 files changed, 2 insertions, 0 deletions
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_ */