From 289f11acb49b6dbb3081e09bf94a86f008f55814 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 16 Mar 1995 18:17:34 +0000 Subject: Add and move declarations to fix all of the warnings from `gcc -Wimplicit' (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones. --- sys/net/radix.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/net/radix.h') diff --git a/sys/net/radix.h b/sys/net/radix.h index b389596..9d44941 100644 --- a/sys/net/radix.h +++ b/sys/net/radix.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)radix.h 8.1 (Berkeley) 6/10/93 - * $Id: radix.h,v 1.4 1994/11/02 04:41:23 wollman Exp $ + * $Id: radix.h,v 1.5 1994/11/14 14:06:06 bde Exp $ */ #ifndef _NET_RADIX_H_ @@ -125,7 +125,6 @@ struct radix_node_head { struct radix_node rnh_nodes[3]; /* empty tree for common case */ }; - #ifndef KERNEL #define Bcmp(a, b, n) bcmp(((char *)(a)), ((char *)(b)), (n)) #define Bzero(p, n) bzero((char *)(p), (int)(n)); @@ -138,6 +137,8 @@ struct radix_node_head { #define R_Malloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_DONTWAIT)) #define Free(p) free((caddr_t)p, M_RTABLE); +extern struct radix_node_head *mask_rnhead; + void rn_init __P((void)); int rn_inithead __P((void **, int)); int rn_refines __P((void *, void *)); -- cgit v1.1