We no longer use radix.c in userland since routed(8) was killed aeons ago. There is no need for this madness anymore so remove it.
-- :wq Claudio Index: radix.c =================================================================== RCS file: /cvs/src/sys/net/radix.c,v retrieving revision 1.34 diff -u -p -r1.34 radix.c --- radix.c 10 Jan 2014 14:29:08 -0000 1.34 +++ radix.c 19 Jan 2014 03:26:01 -0000 @@ -36,19 +36,12 @@ * Routines to build and maintain radix trees for routing lookups. */ -#ifndef _NET_RADIX_H_ #include <sys/param.h> -#ifdef _KERNEL #include <sys/systm.h> #include <sys/malloc.h> -#define M_DONTWAIT M_NOWAIT #include <sys/domain.h> -#else -#include <stdlib.h> -#endif #include <sys/syslog.h> #include <net/radix.h> -#endif #ifndef SMALL_KERNEL #include <sys/socket.h> @@ -1056,13 +1049,11 @@ void rn_init() { char *cp, *cplim; -#ifdef _KERNEL struct domain *dom; for (dom = domains; dom; dom = dom->dom_next) if (dom->dom_maxrtkey > max_keylen) max_keylen = dom->dom_maxrtkey; -#endif if (max_keylen == 0) { log(LOG_ERR, "rn_init: radix functions require max_keylen be set\n");