diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2012-07-10 15:53:35 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2012-07-10 15:53:35 +0000 |
commit | c0c0b30743a08a824c6d3ec2ea48590975aca611 (patch) | |
tree | 6326b84fe7f29aa65eb7b0ecf087455bb0c0d0a1 /sys/net/radix.c | |
parent | 6e3f5d7fcfec3b55ee62ab38328885bbacaae56a (diff) |
Place declarations for internal radix functions inside radix.c, stop
exporting them to the outside world via radix.h.
ok claudio@ sthen@ henning@
Diffstat (limited to 'sys/net/radix.c')
-rw-r--r-- | sys/net/radix.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c index b7be0e31e4e..642b3a52d66 100644 --- a/sys/net/radix.c +++ b/sys/net/radix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radix.c,v 1.29 2011/07/22 13:05:29 henning Exp $ */ +/* $OpenBSD: radix.c,v 1.30 2012/07/10 15:53:34 blambert Exp $ */ /* $NetBSD: radix.c,v 1.20 2003/08/07 16:32:56 agc Exp $ */ /* @@ -72,6 +72,12 @@ static int rn_lexobetter(void *, void *); static struct radix_mask *rn_new_radix_mask(struct radix_node *, struct radix_mask *); +struct radix_node *rn_insert(void *, struct radix_node_head *, int *, + struct radix_node [2]); +struct radix_node *rn_newpair(void *, int, struct radix_node[2]); +struct radix_node *rn_search(void *, struct radix_node *); +struct radix_node *rn_search_m(void *, struct radix_node *, void *); + /* * The data structure for the keys is a radix tree with one way * branching removed. The index rn_b at an internal node n represents a bit |