diff options
author | bde <bde@FreeBSD.org> | 1996-04-13 12:45:57 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-04-13 12:45:57 +0000 |
commit | 6eb67292b0fbbd0bd1936d5ccca1d9184f0cd387 (patch) | |
tree | 82c451c31a31c4d821ca6348595300d7b8decbb8 /sys/netinet/tcp_debug.h | |
parent | e97a7a15c60a5616debcd9cc097e3510d9eca133 (diff) | |
download | FreeBSD-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.h | 10 |
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_ */ |