summaryrefslogtreecommitdiffstats
path: root/sys/netatalk/at_rmx.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 12:09:27 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 12:09:27 +0000
commitd8b437572eb8277bfdd768ac96f175bea8b48de9 (patch)
treed80ad8f0c8672a678d9bbd9e2500cb02edef1c30 /sys/netatalk/at_rmx.c
parent05f01766df5b1dffcbdef471f2ef00028783dd72 (diff)
downloadFreeBSD-src-d8b437572eb8277bfdd768ac96f175bea8b48de9.zip
FreeBSD-src-d8b437572eb8277bfdd768ac96f175bea8b48de9.tar.gz
De-staticize and add prototype for main debug function. I'll turn
this into a DDB command in the next staticization run.
Diffstat (limited to 'sys/netatalk/at_rmx.c')
-rw-r--r--sys/netatalk/at_rmx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netatalk/at_rmx.c b/sys/netatalk/at_rmx.c
index cc49d7f..ca8db3a 100644
--- a/sys/netatalk/at_rmx.c
+++ b/sys/netatalk/at_rmx.c
@@ -37,6 +37,8 @@
#include <net/route.h>
+int at_inithead(void **head, int off);
+
static char hexbuf[256];
static char *
@@ -132,7 +134,7 @@ at_delroute(void *v_arg, void *netmask_arg, struct radix_node_head *head)
/*
* Initialize our routing tree with debugging hooks.
*/
-static int
+int
at_inithead(void **head, int off)
{
struct radix_node_head *rnh;
@@ -147,4 +149,3 @@ at_inithead(void **head, int off)
rnh->rnh_lookup = at_lookup;
return 1;
}
-
OpenPOWER on IntegriCloud