From: mickey Date: Thu, 5 Sep 1996 08:42:32 +0000 (+0000) Subject: remove ';' after function close '}' X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4a984228930462a0a1ed51845a02aeacffc82fbe;p=openbsd remove ';' after function close '}' make it nicer w/ new routed. --- diff --git a/sys/net/radix.c b/sys/net/radix.c index 7b4ad168d0f..29e6a198774 100644 --- a/sys/net/radix.c +++ b/sys/net/radix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radix.c,v 1.3 1996/04/21 22:28:43 deraadt Exp $ */ +/* $OpenBSD: radix.c,v 1.4 1996/09/05 08:42:32 mickey Exp $ */ /* $NetBSD: radix.c,v 1.11 1996/03/16 23:55:36 christos Exp $ */ /* @@ -116,7 +116,7 @@ rn_search(v_arg, head) x = x->rn_l; } return (x); -}; +} struct radix_node * rn_search_m(v_arg, head, m_arg) @@ -134,7 +134,7 @@ rn_search_m(v_arg, head, m_arg) x = x->rn_l; } return x; -}; +} int rn_refines(m_arg, n_arg) @@ -303,7 +303,7 @@ on1: } } while (t != top); return 0; -}; +} #ifdef RN_DEBUG int rn_nodenum; diff --git a/sys/net/radix.h b/sys/net/radix.h index c5d84eaf55c..40db2dbfb82 100644 --- a/sys/net/radix.h +++ b/sys/net/radix.h @@ -1,4 +1,4 @@ -/* $OpenBSD: radix.h,v 1.2 1996/03/03 21:07:15 niklas Exp $ */ +/* $OpenBSD: radix.h,v 1.3 1996/09/05 08:42:34 mickey Exp $ */ /* $NetBSD: radix.h,v 1.8 1996/02/13 22:00:37 christos Exp $ */ /* @@ -145,7 +145,9 @@ struct radix_node_head { #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_DONTWAIT)) #define Free(p) free((caddr_t)p, M_RTABLE); +#endif /* !_KERNEL */ +#if defined(_KERNEL) || defined(_ROUTED) void rn_init __P((void)); int rn_inithead __P((void **, int)); int rn_refines __P((void *, void *)); @@ -163,6 +165,6 @@ struct radix_node *rn_newpair __P((void *, int, struct radix_node[2])), *rn_search __P((void *, struct radix_node *)), *rn_search_m __P((void *, struct radix_node *, void *)); -#endif /* !_KERNEL */ +#endif /* define(_KERNEL) || defined(_ROUTED) */ #endif /* !_NET_RADIX_H_ */