Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netatalk Eliminate commons.
details: https://anonhg.NetBSD.org/src/rev/92c965a2d5d0
branches: trunk
changeset: 526853:92c965a2d5d0
user: matt <matt%NetBSD.org@localhost>
date: Sun May 12 21:43:23 2002 +0000
description:
Eliminate commons.
diffstat:
sys/netatalk/at_var.h | 5 ++---
sys/netatalk/ddp_usrreq.c | 6 ++++--
sys/netatalk/ddp_var.h | 4 ++--
3 files changed, 8 insertions(+), 7 deletions(-)
diffs (66 lines):
diff -r 0d9484a595c2 -r 92c965a2d5d0 sys/netatalk/at_var.h
--- a/sys/netatalk/at_var.h Sun May 12 21:39:46 2002 +0000
+++ b/sys/netatalk/at_var.h Sun May 12 21:43:23 2002 +0000
@@ -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.
@@ -68,8 +68,7 @@
#ifdef _KERNEL
TAILQ_HEAD(at_ifaddrhead, at_ifaddr);
extern struct at_ifaddrhead at_ifaddr;
-struct ifqueue atintrq1, atintrq2;
-int atdebug;
+extern struct ifqueue atintrq1, atintrq2;
#endif
#endif /* _NETATALK_AT_VAR_H_ */
diff -r 0d9484a595c2 -r 92c965a2d5d0 sys/netatalk/ddp_usrreq.c
--- a/sys/netatalk/ddp_usrreq.c Sun May 12 21:39:46 2002 +0000
+++ b/sys/netatalk/ddp_usrreq.c Sun May 12 21:43:23 2002 +0000
@@ -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.
@@ -27,7 +27,7 @@
*/
#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/errno.h>
@@ -56,8 +56,10 @@
static void at_pcbdetach __P((struct socket *, struct ddpcb *));
static int at_pcballoc __P((struct socket *));
+struct ifqueue atintrq1, atintrq2;
struct ddpcb *ddp_ports[ATPORT_LAST];
struct ddpcb *ddpcb = NULL;
+struct ddpstat ddpstat;
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_recvspace = 25 * (587 + sizeof(struct sockaddr_at));
diff -r 0d9484a595c2 -r 92c965a2d5d0 sys/netatalk/ddp_var.h
--- a/sys/netatalk/ddp_var.h Sun May 12 21:39:46 2002 +0000
+++ b/sys/netatalk/ddp_var.h Sun May 12 21:43:23 2002 +0000
@@ -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.
@@ -55,7 +55,7 @@
#ifdef _KERNEL
extern struct ddpcb *ddp_ports[];
extern struct ddpcb *ddpcb;
-struct ddpstat ddpstat;
+extern struct ddpstat ddpstat;
#endif
#endif /* _NETATALK_DDP_VAR_H_ */
Home |
Main Index |
Thread Index |
Old Index