summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-11-24 13:50:24 +0000
committerbde <bde@FreeBSD.org>1997-11-24 13:50:24 +0000
commit62082c7f659e100465060df7218c10762516d9e6 (patch)
tree9ff6aeddf1192de648576eb4ddeff60cb8baa7a3 /sys/net
parent48ccf62b8e7a2fad92572ca6db52bb3ce04789f9 (diff)
downloadFreeBSD-src-62082c7f659e100465060df7218c10762516d9e6.zip
FreeBSD-src-62082c7f659e100465060df7218c10762516d9e6.tar.gz
Unstaticized rn_delete() and rn_lookup(). They are used in dark corners
of netatalk (if NETATALKDEBUG is configured). Removed stray semicolons.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/radix.c14
-rw-r--r--sys/net/radix.h5
2 files changed, 9 insertions, 10 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c
index bc1b7ee1..68cc400 100644
--- a/sys/net/radix.c
+++ b/sys/net/radix.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)radix.c 8.4 (Berkeley) 11/2/94
- * $Id$
+ * $Id: radix.c,v 1.13 1997/02/22 09:41:12 peter Exp $
*/
/*
@@ -51,14 +51,10 @@
#include <net/radix.h>
#endif
-static struct radix_node *
- rn_lookup __P((void *v_arg, void *m_arg,
- struct radix_node_head *head));
static int rn_walktree_from __P((struct radix_node_head *h, void *a,
void *m, walktree_f_t *f, void *w));
static int rn_walktree __P((struct radix_node_head *, walktree_f_t *, void *));
static struct radix_node
- *rn_delete __P((void *, void *, struct radix_node_head *)),
*rn_insert __P((void *, struct radix_node_head *, int *,
struct radix_node [2])),
*rn_newpair __P((void *, int, struct radix_node[2])),
@@ -132,7 +128,7 @@ rn_search(v_arg, head)
x = x->rn_l;
}
return (x);
-};
+}
static struct radix_node *
rn_search_m(v_arg, head, m_arg)
@@ -150,7 +146,7 @@ rn_search_m(v_arg, head, m_arg)
x = x->rn_l;
}
return x;
-};
+}
int
rn_refines(m_arg, n_arg)
@@ -321,7 +317,7 @@ on1:
}
} while (t != top);
return 0;
-};
+}
#ifdef RN_DEBUG
int rn_nodenum;
@@ -673,7 +669,7 @@ on2:
return tt;
}
-static struct radix_node *
+struct radix_node *
rn_delete(v_arg, netmask_arg, head)
void *v_arg, *netmask_arg;
struct radix_node_head *head;
diff --git a/sys/net/radix.h b/sys/net/radix.h
index a7287e5..cd18f7a 100644
--- a/sys/net/radix.h
+++ b/sys/net/radix.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)radix.h 8.2 (Berkeley) 10/31/94
- * $Id: radix.h,v 1.12 1997/09/07 08:49:04 bde Exp $
+ * $Id: radix.h,v 1.13 1997/10/12 20:25:13 phk Exp $
*/
#ifndef _RADIX_H_
@@ -161,6 +161,9 @@ struct radix_node
*rn_addmask __P((void *, int, int)),
*rn_addroute __P((void *, void *, struct radix_node_head *,
struct radix_node [2])),
+ *rn_delete __P((void *, void *, struct radix_node_head *)),
+ *rn_lookup __P((void *v_arg, void *m_arg,
+ struct radix_node_head *head)),
*rn_match __P((void *, struct radix_node_head *));
OpenPOWER on IntegriCloud