summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-06-10 09:28:50 +0000
committerbz <bz@FreeBSD.org>2009-06-10 09:28:50 +0000
commit4cc0c5560a490046b2793a2d965825fe6446d508 (patch)
tree3344092ae3f12631a2c3f59c8694ea9de774f136 /sys/netipx
parentf5e2381b7d5343afbd217577f932b65b89253433 (diff)
downloadFreeBSD-src-4cc0c5560a490046b2793a2d965825fe6446d508.zip
FreeBSD-src-4cc0c5560a490046b2793a2d965825fe6446d508.tar.gz
Put the variable declarations for TCPDEBUG under #ifdef INET as well.
The implementation already has this right. Reviewed by: rwatson
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/spx_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netipx/spx_debug.c b/sys/netipx/spx_debug.c
index 7f48261..0d3f65f 100644
--- a/sys/netipx/spx_debug.c
+++ b/sys/netipx/spx_debug.c
@@ -82,11 +82,13 @@ __FBSDID("$FreeBSD$");
#define SANAMES
#include <netipx/spx_debug.h>
+#ifdef INET
#ifdef TCPDEBUG
static int spxconsdebug = 0;
static struct spx_debug spx_debug[SPX_NDEBUG];
static int spx_debx;
#endif
+#endif
/*
* spx debug routines
OpenPOWER on IntegriCloud