diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-07-30 11:06:42 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-07-30 11:06:42 +0000 |
commit | 218cbbea9a4ff5953d6c1b87438a876388b5a181 (patch) | |
tree | f9bf5e42e9c6d203db78a053255c80161fd541e3 /sys/netipx/spx_debug.c | |
parent | ef2c8992b59347241812e05802157d725a54bc46 (diff) | |
download | src-218cbbea9a4ff5953d6c1b87438a876388b5a181.tar.gz src-218cbbea9a4ff5953d6c1b87438a876388b5a181.zip |
Make tcpstates[] static, and make sure TCPSTATES is defined before
<netinet/tcp_fsm.h> is included into any compilation unit that needs
tcpstates[]. Also remove incorrect extern declarations and TCPDEBUG
conditionals. This allows kernels both with and without TCPDEBUG to
build, and unbreaks the tinderbox.
Approved by: re (rwatson)
Notes
Notes:
svn path=/head/; revision=171656
Diffstat (limited to 'sys/netipx/spx_debug.c')
-rw-r--r-- | sys/netipx/spx_debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netipx/spx_debug.c b/sys/netipx/spx_debug.c index 1654bc02242b..7f482617ef71 100644 --- a/sys/netipx/spx_debug.c +++ b/sys/netipx/spx_debug.c @@ -69,6 +69,8 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/protosw.h> +#define TCPSTATES /* for logging */ + #include <netinet/in_systm.h> #include <netinet/tcp_fsm.h> |