|
|
| version 1.4, 2003/08/26 20:49:47 | version 1.5, 2004/04/22 04:21:29 |
|---|---|
| Line 151 struct radix_node_head { | Line 151 struct radix_node_head { |
| #define Bcmp(a, b, n) bcmp(((caddr_t)(a)), ((caddr_t)(b)), (unsigned)(n)) | #define Bcmp(a, b, n) bcmp(((caddr_t)(a)), ((caddr_t)(b)), (unsigned)(n)) |
| #define Bcopy(a, b, n) bcopy(((caddr_t)(a)), ((caddr_t)(b)), (unsigned)(n)) | #define Bcopy(a, b, n) bcopy(((caddr_t)(a)), ((caddr_t)(b)), (unsigned)(n)) |
| #define Bzero(p, n) bzero((caddr_t)(p), (unsigned)(n)); | #define Bzero(p, n) bzero((caddr_t)(p), (unsigned)(n)); |
| #define R_Malloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_NOWAIT)) | #define R_Malloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_INTWAIT | M_NULLOK)) |
| #define Free(p) free((caddr_t)p, M_RTABLE); | #define Free(p) free((caddr_t)p, M_RTABLE); |
| #endif /* _KERNEL */ | #endif /* _KERNEL */ |