inet: remove tcp_debug from netinet/tcp_debug.h
It was a hack only needed for trpt, which can just define it locally. This makes it possible to fix up systat which also includes the file. Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
8f3d786cb3
commit
8e27968786
@ -73,10 +73,4 @@ static const char *tanames[] =
|
||||
|
||||
#define TCP_NDEBUG 100
|
||||
|
||||
#ifndef _KERNEL
|
||||
/* XXX common variables for broken applications. */
|
||||
struct tcp_debug tcp_debug[TCP_NDEBUG];
|
||||
int tcp_debx;
|
||||
#endif
|
||||
|
||||
#endif /* !_NETINET_TCP_DEBUG_H_ */
|
||||
|
@ -85,6 +85,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static struct tcp_debug tcp_debug[TCP_NDEBUG];
|
||||
static int tcp_debx;
|
||||
|
||||
static struct nlist nl[3];
|
||||
#define N_TCP_DEBUG 0
|
||||
#define N_TCP_DEBX 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user