summaryrefslogtreecommitdiff
path: root/sys/net/radix.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-04 09:50:22 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-04 09:50:22 +0000
commitedd3cff2f2ed9c7d2e9b243331729a8439036214 (patch)
tree554c8ef141ad4e2ae933e2f7f751984e08d87350 /sys/net/radix.h
parentdcfb7a9f05032da72706adbfa8cbb69838412be0 (diff)
Some tweaks to build the rtable API and backends in userland.
Needed by the regression tests.
Diffstat (limited to 'sys/net/radix.h')
-rw-r--r--sys/net/radix.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/radix.h b/sys/net/radix.h
index b2360526be9..39196ce7439 100644
--- a/sys/net/radix.h
+++ b/sys/net/radix.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: radix.h,v 1.27 2015/10/08 08:41:58 mpi Exp $ */
+/* $OpenBSD: radix.h,v 1.28 2015/11/04 09:50:21 mpi Exp $ */
/* $NetBSD: radix.h,v 1.8 1996/02/13 22:00:37 christos Exp $ */
/*
@@ -97,8 +97,6 @@ struct radix_node_head {
u_int rnh_rtableid;
};
-#ifdef _KERNEL
-
void rn_init(unsigned int);
int rn_inithead(void **, int);
int rn_inithead0(struct radix_node_head *, int);
@@ -116,6 +114,4 @@ struct radix_node *rn_delete(void *, void *, struct radix_node_head *,
struct radix_node *rn_lookup(void *, void *, struct radix_node_head *);
struct radix_node *rn_match(void *, struct radix_node_head *);
-#endif /* _KERNEL */
-
#endif /* _NET_RADIX_H_ */