summaryrefslogtreecommitdiffstats
path: root/sys/netipx/spx_debug.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-04-13 12:53:53 +0000
committerbde <bde@FreeBSD.org>1996-04-13 12:53:53 +0000
commit2b5198592c2b1f28bd97a69e13363aae66e522c5 (patch)
tree0e99643e602b4d21c45d9209322a0d09f4b2b891 /sys/netipx/spx_debug.c
parent6eb67292b0fbbd0bd1936d5ccca1d9184f0cd387 (diff)
downloadFreeBSD-src-2b5198592c2b1f28bd97a69e13363aae66e522c5.zip
FreeBSD-src-2b5198592c2b1f28bd97a69e13363aae66e522c5.tar.gz
Eliminated sloppy common-style declarations. Now there are no duplicated
common labels for LINT. There are still some common declarations for the !KERNEL case in tcp_debug.h and spx_debug.h. trpt depends on the ones in tcp_debug.h.
Diffstat (limited to 'sys/netipx/spx_debug.c')
-rw-r--r--sys/netipx/spx_debug.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/netipx/spx_debug.c b/sys/netipx/spx_debug.c
index 95512b0..ef4f020 100644
--- a/sys/netipx/spx_debug.c
+++ b/sys/netipx/spx_debug.c
@@ -33,7 +33,7 @@
*
* @(#)spx_debug.c
*
- * $Id: spx_debug.c,v 1.4 1996/02/13 18:16:26 wollman Exp $
+ * $Id: spx_debug.c,v 1.5 1996/03/11 15:13:58 davidg Exp $
*/
#include <sys/param.h>
@@ -62,7 +62,12 @@
#define SANAMES
#include <netipx/spx_debug.h>
-int spxconsdebug = 0;
+#ifdef TCPDEBUG
+static int spxconsdebug = 0;
+static struct spx_debug spx_debug[SPX_NDEBUG];
+static int spx_debx;
+#endif
+
/*
* spx debug routines
*/
OpenPOWER on IntegriCloud