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.h | |
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.h')
-rw-r--r-- | sys/netipx/spx_debug.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netipx/spx_debug.h b/sys/netipx/spx_debug.h index 24a76f4a1ce8..24405bc791ca 100644 --- a/sys/netipx/spx_debug.h +++ b/sys/netipx/spx_debug.h @@ -95,7 +95,6 @@ int spx_debx; #ifdef _KERNEL extern char *prurequests[]; extern char *sanames[]; -extern char *tcpstates[]; void spx_trace(short act, u_char ostate, struct spxpcb *sp, struct spx *si, int req); |