mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 13:15:21 +08:00
Hide global TCP debug variables
This commit is contained in:
@@ -72,9 +72,11 @@ static const char *tanames[] =
|
|||||||
#define TCP_NDEBUG 100
|
#define TCP_NDEBUG 100
|
||||||
|
|
||||||
#ifndef _KERNEL
|
#ifndef _KERNEL
|
||||||
|
#ifndef __rtems__
|
||||||
/* XXX common variables for broken applications. */
|
/* XXX common variables for broken applications. */
|
||||||
struct tcp_debug tcp_debug[TCP_NDEBUG];
|
struct tcp_debug tcp_debug[TCP_NDEBUG];
|
||||||
int tcp_debx;
|
int tcp_debx;
|
||||||
|
#endif /* __rtems__ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* !_NETINET_TCP_DEBUG_H_ */
|
#endif /* !_NETINET_TCP_DEBUG_H_ */
|
||||||
|
Reference in New Issue
Block a user