diff options
author | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
commit | 289f11acb49b6dbb3081e09bf94a86f008f55814 (patch) | |
tree | e4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/net/radix.h | |
parent | 4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff) | |
download | FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz |
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.
Diffstat (limited to 'sys/net/radix.h')
-rw-r--r-- | sys/net/radix.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 *)); |