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.
This commit is contained in:
Bruce Evans 1996-04-13 12:53:53 +00:00
parent c5294719c3
commit bc9eb1f2fe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15239
3 changed files with 12 additions and 5 deletions

View File

@ -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
*/

View File

@ -33,7 +33,7 @@
*
* @(#)spx_debug.h
*
* $Id: spx_debug.h,v 1.4 1995/11/04 09:03:35 julian Exp $
* $Id: spx_debug.h,v 1.5 1995/11/24 12:25:13 bde Exp $
*/
#ifndef _NETIPX_SPX_DEBUG_H_
@ -61,8 +61,11 @@ char *spxnames[] =
#endif
#define SPX_NDEBUG 100
#ifndef KERNEL
/* XXX common variables for broken applications. */
struct spx_debug spx_debug[SPX_NDEBUG];
int spx_debx;
#endif
#ifdef KERNEL
extern char *prurequests[];

View File

@ -33,7 +33,7 @@
*
* @(#)spx_usrreq.h
*
* $Id: spx_usrreq.c,v 1.6 1995/11/24 12:01:08 bde Exp $
* $Id: spx_usrreq.c,v 1.7 1995/12/16 02:14:35 bde Exp $
*/
#include <sys/param.h>
@ -65,7 +65,6 @@
struct spx spx_savesi;
int traceallspxs = 0;
extern int spxconsdebug;
int spx_hardnosed;
int spx_use_delack = 0;
u_short spx_newchecks[50];