From 042461b755fa369e67cab3eddaee0eb1a063b303 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 7 Sep 1997 07:33:30 +0000 Subject: [PATCH] Fixed sloppy common-style declarations. --- sys/netatalk/at_control.c | 2 ++ sys/netatalk/at_var.h | 4 ++-- sys/netatalk/ddp_input.c | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/netatalk/at_control.c b/sys/netatalk/at_control.c index 9b25f80ed78c..cd80e63e50c2 100644 --- a/sys/netatalk/at_control.c +++ b/sys/netatalk/at_control.c @@ -26,6 +26,8 @@ #include #include +struct at_ifaddr *at_ifaddr; + static int aa_dorangeroute(struct ifaddr *ifa, u_int first, u_int last, int cmd); static int aa_addsingleroute(struct ifaddr *ifa, diff --git a/sys/netatalk/at_var.h b/sys/netatalk/at_var.h index a9674ee31e93..2be6157192ca 100644 --- a/sys/netatalk/at_var.h +++ b/sys/netatalk/at_var.h @@ -58,8 +58,8 @@ struct at_aliasreq { #ifdef KERNEL extern struct pr_usrreqs ddp_usrreqs; -struct at_ifaddr *at_ifaddr; -struct ifqueue atintrq1, atintrq2; +extern struct at_ifaddr *at_ifaddr; +extern struct ifqueue atintrq1, atintrq2; int atdebug; #endif diff --git a/sys/netatalk/ddp_input.c b/sys/netatalk/ddp_input.c index 05f04dca7a49..92fedc1f1551 100644 --- a/sys/netatalk/ddp_input.c +++ b/sys/netatalk/ddp_input.c @@ -24,6 +24,8 @@ #include #include +struct ifqueue atintrq1, atintrq2; + int ddp_forward = 1; int ddp_firewall = 0; extern int ddp_cksum;