More commons eliminated.
This commit is contained in:
parent
6f64f8bcf2
commit
13e5187f62
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: idp_var.h,v 1.8 1996/05/22 13:56:18 mycroft Exp $ */
|
||||
/* $NetBSD: idp_var.h,v 1.9 2002/05/12 20:23:49 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1984, 1985, 1986, 1987, 1993
|
||||
@ -50,7 +50,7 @@ struct idpstat {
|
||||
struct nspcb;
|
||||
struct mbuf;
|
||||
struct socket;
|
||||
struct idpstat idpstat;
|
||||
extern struct idpstat idpstat;
|
||||
|
||||
void idp_input __P((struct mbuf *, ...));
|
||||
void idp_abort __P((struct nspcb *));
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ns_input.c,v 1.17 2001/11/13 01:08:10 lukem Exp $ */
|
||||
/* $NetBSD: ns_input.c,v 1.18 2002/05/12 20:23:49 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1984, 1985, 1986, 1987, 1993
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ns_input.c,v 1.17 2001/11/13 01:08:10 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ns_input.c,v 1.18 2002/05/12 20:23:49 matt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -81,6 +81,8 @@ static u_int16_t allones[] = {-1, -1, -1};
|
||||
struct nspcb nspcb;
|
||||
struct nspcb nsrawpcb;
|
||||
|
||||
struct idpstat idpstat;
|
||||
|
||||
struct ifqueue nsintrq;
|
||||
int nsqmaxlen = IFQ_MAXLEN;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: spp_debug.h,v 1.6 2001/06/19 07:37:17 jdolecek Exp $ */
|
||||
/* $NetBSD: spp_debug.h,v 1.7 2002/05/12 20:23:49 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1984, 1985, 1986, 1987, 1993
|
||||
@ -56,4 +56,8 @@ const char * const sanames[] =
|
||||
{ "input", "output", "user", "respond", "drop" };
|
||||
#endif
|
||||
|
||||
#ifdef _KERNEL
|
||||
extern int sppconsdebug;
|
||||
#endif
|
||||
|
||||
#define SPP_NDEBUG 100
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: spp_usrreq.c,v 1.27 2001/11/13 01:08:11 lukem Exp $ */
|
||||
/* $NetBSD: spp_usrreq.c,v 1.28 2002/05/12 20:23:49 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1984, 1985, 1986, 1987, 1993
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: spp_usrreq.c,v 1.27 2001/11/13 01:08:11 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: spp_usrreq.c,v 1.28 2002/05/12 20:23:49 matt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -75,11 +75,13 @@ spp_init()
|
||||
spp_iss = 1; /* WRONG !! should fish it out of TODR */
|
||||
}
|
||||
|
||||
struct spidp spp_savesi;
|
||||
int traceallspps = 0;
|
||||
extern int sppconsdebug;
|
||||
int spp_hardnosed;
|
||||
int spp_use_delack = 0;
|
||||
int traceallspps = 0;
|
||||
int spp_hardnosed;
|
||||
u_short spp_iss;
|
||||
struct spidp spp_savesi;
|
||||
struct spp_istat spp_istat;
|
||||
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: spp_var.h,v 1.9 1998/09/13 15:21:33 christos Exp $ */
|
||||
/* $NetBSD: spp_var.h,v 1.10 2002/05/12 20:23:49 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1984, 1985, 1986, 1987, 1993
|
||||
@ -188,14 +188,14 @@ struct spp_istat {
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
struct spp_istat spp_istat;
|
||||
extern struct spp_istat spp_istat;
|
||||
|
||||
/* Following was struct sppstat sppstat; */
|
||||
#ifndef sppstat
|
||||
#define sppstat spp_istat.newstats
|
||||
#endif
|
||||
|
||||
u_short spp_iss;
|
||||
extern u_short spp_iss;
|
||||
struct sppcb;
|
||||
struct spidp;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user