summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_debug.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-04-13 12:45:57 +0000
committerbde <bde@FreeBSD.org>1996-04-13 12:45:57 +0000
commit6eb67292b0fbbd0bd1936d5ccca1d9184f0cd387 (patch)
tree82c451c31a31c4d821ca6348595300d7b8decbb8 /sys/netinet/tcp_debug.h
parente97a7a15c60a5616debcd9cc097e3510d9eca133 (diff)
downloadFreeBSD-src-6eb67292b0fbbd0bd1936d5ccca1d9184f0cd387.zip
FreeBSD-src-6eb67292b0fbbd0bd1936d5ccca1d9184f0cd387.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/netinet/tcp_debug.h')
-rw-r--r--sys/netinet/tcp_debug.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/netinet/tcp_debug.h b/sys/netinet/tcp_debug.h
index 02af11e..cab4451 100644
--- a/sys/netinet/tcp_debug.h
+++ b/sys/netinet/tcp_debug.h
@@ -31,11 +31,11 @@
* SUCH DAMAGE.
*
* @(#)tcp_debug.h 8.1 (Berkeley) 6/10/93
- * $Id: tcp_debug.h,v 1.3 1994/08/21 05:27:35 paul Exp $
+ * $Id: tcp_debug.h,v 1.4 1995/11/14 20:34:29 phk Exp $
*/
#ifndef _NETINET_TCP_DEBUG_H_
-#define _NETINET_TCP_DEBUG_H_
+#define _NETINET_TCP_DEBUG_H_
struct tcp_debug {
n_time td_time;
@@ -59,7 +59,11 @@ static char *tanames[] =
#endif
#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_ */
OpenPOWER on IntegriCloud