summaryrefslogtreecommitdiffstats
path: root/sbin/routed/radix.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/routed/radix.h')
-rw-r--r--sbin/routed/radix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/routed/radix.h b/sbin/routed/radix.h
index fddf02e..033f31c 100644
--- a/sbin/routed/radix.h
+++ b/sbin/routed/radix.h
@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*
* @(#)radix.h 8.2 (Berkeley) 10/31/94
+ * $Id$
*/
#ifndef __RADIX_H_
@@ -102,7 +103,7 @@ extern struct radix_mask {
m = rn_mkfreelist; \
rn_mkfreelist = (m)->rm_mklist; \
} else \
- R_Malloc(m, struct radix_mask *, sizeof (*(m))); }\
+ m = (struct radix_mask *)rtmalloc(sizeof (*(m)), "MKGet"); }\
#define MKFree(m) { (m)->rm_mklist = rn_mkfreelist; rn_mkfreelist = (m);}
@@ -137,7 +138,6 @@ struct radix_node_head {
#define Bcmp(a, b, n) bcmp(((char *)(a)), ((char *)(b)), (n))
#define Bcopy(a, b, n) bcopy(((char *)(a)), ((char *)(b)), (unsigned)(n))
#define Bzero(p, n) bzero((char *)(p), (int)(n));
-#define R_Malloc(p, t, n) (p = (t) malloc((unsigned int)(n)))
#define Free(p) free((char *)p);
void rn_init __P((void));
OpenPOWER on IntegriCloud