Eliminate commons.
This commit is contained in:
parent
c1f51e00c0
commit
cc7f90a332
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: at_var.h,v 1.2 2000/03/23 07:03:27 thorpej Exp $ */
|
/* $NetBSD: at_var.h,v 1.3 2002/05/12 21:43:23 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1990,1991 Regents of The University of Michigan.
|
* Copyright (c) 1990,1991 Regents of The University of Michigan.
|
||||||
|
@ -68,8 +68,7 @@ struct at_aliasreq {
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
TAILQ_HEAD(at_ifaddrhead, at_ifaddr);
|
TAILQ_HEAD(at_ifaddrhead, at_ifaddr);
|
||||||
extern struct at_ifaddrhead at_ifaddr;
|
extern struct at_ifaddrhead at_ifaddr;
|
||||||
struct ifqueue atintrq1, atintrq2;
|
extern struct ifqueue atintrq1, atintrq2;
|
||||||
int atdebug;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _NETATALK_AT_VAR_H_ */
|
#endif /* _NETATALK_AT_VAR_H_ */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ddp_usrreq.c,v 1.6 2001/11/15 09:48:26 lukem Exp $ */
|
/* $NetBSD: ddp_usrreq.c,v 1.7 2002/05/12 21:43:23 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1990,1991 Regents of The University of Michigan.
|
* Copyright (c) 1990,1991 Regents of The University of Michigan.
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ddp_usrreq.c,v 1.6 2001/11/15 09:48:26 lukem Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ddp_usrreq.c,v 1.7 2002/05/12 21:43:23 matt Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
|
@ -56,8 +56,10 @@ static int at_pcbconnect __P((struct ddpcb *, struct mbuf *, struct proc *));
|
||||||
static void at_pcbdetach __P((struct socket *, struct ddpcb *));
|
static void at_pcbdetach __P((struct socket *, struct ddpcb *));
|
||||||
static int at_pcballoc __P((struct socket *));
|
static int at_pcballoc __P((struct socket *));
|
||||||
|
|
||||||
|
struct ifqueue atintrq1, atintrq2;
|
||||||
struct ddpcb *ddp_ports[ATPORT_LAST];
|
struct ddpcb *ddp_ports[ATPORT_LAST];
|
||||||
struct ddpcb *ddpcb = NULL;
|
struct ddpcb *ddpcb = NULL;
|
||||||
|
struct ddpstat ddpstat;
|
||||||
struct at_ifaddrhead at_ifaddr; /* Here as inited in this file */
|
struct at_ifaddrhead at_ifaddr; /* Here as inited in this file */
|
||||||
u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */
|
u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */
|
||||||
u_long ddp_recvspace = 25 * (587 + sizeof(struct sockaddr_at));
|
u_long ddp_recvspace = 25 * (587 + sizeof(struct sockaddr_at));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ddp_var.h,v 1.1 1997/04/02 21:31:11 christos Exp $ */
|
/* $NetBSD: ddp_var.h,v 1.2 2002/05/12 21:43:23 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1990,1994 Regents of The University of Michigan.
|
* Copyright (c) 1990,1994 Regents of The University of Michigan.
|
||||||
|
@ -55,7 +55,7 @@ struct ddpstat {
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
extern struct ddpcb *ddp_ports[];
|
extern struct ddpcb *ddp_ports[];
|
||||||
extern struct ddpcb *ddpcb;
|
extern struct ddpcb *ddpcb;
|
||||||
struct ddpstat ddpstat;
|
extern struct ddpstat ddpstat;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _NETATALK_DDP_VAR_H_ */
|
#endif /* _NETATALK_DDP_VAR_H_ */
|
||||||
|
|
Loading…
Reference in New Issue