summaryrefslogtreecommitdiffstats
path: root/sys/net/radix.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-24 09:34:04 +0000
committerbde <bde@FreeBSD.org>2002-03-24 09:34:04 +0000
commit3a6e21a3250a1856706318c7ef6ebb85df2332ac (patch)
tree018122a1fc824c0a2641362615bea135f49f0f19 /sys/net/radix.c
parent5939a9b39981e7bbc701c3dc3239657e6fbb332e (diff)
downloadFreeBSD-src-3a6e21a3250a1856706318c7ef6ebb85df2332ac.zip
FreeBSD-src-3a6e21a3250a1856706318c7ef6ebb85df2332ac.tar.gz
Fixed some style bugs in the removal of __P(()). The main ones were
not removing tabs before "__P((", and not outdenting continuation lines to preserve non-KNF lining up of code with parentheses. Switch to KNF formatting and/or rewrap the whole prototype in some cases.
Diffstat (limited to 'sys/net/radix.c')
-rw-r--r--sys/net/radix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c
index 2e9c03f..adbb2c2 100644
--- a/sys/net/radix.c
+++ b/sys/net/radix.c
@@ -51,12 +51,12 @@
#include <net/radix.h>
#endif
-static int rn_walktree_from(struct radix_node_head *h, void *a,
- void *m, walktree_f_t *f, void *w);
+static int rn_walktree_from(struct radix_node_head *h, void *a, void *m,
+ walktree_f_t *f, void *w);
static int rn_walktree(struct radix_node_head *, walktree_f_t *, void *);
static struct radix_node
*rn_insert(void *, struct radix_node_head *, int *,
- struct radix_node [2]),
+ struct radix_node [2]),
*rn_newpair(void *, int, struct radix_node[2]),
*rn_search(void *, struct radix_node *),
*rn_search_m(void *, struct radix_node *, void *);
@@ -76,9 +76,9 @@ static char *rn_zeros, *rn_ones;
static int rn_lexobetter(void *m_arg, void *n_arg);
static struct radix_mask *
rn_new_radix_mask(struct radix_node *tt,
- struct radix_mask *next);
+ struct radix_mask *next);
static int rn_satsifies_leaf(char *trial, struct radix_node *leaf,
- int skip);
+ int skip);
/*
* The data structure for the keys is a radix tree with one way
OpenPOWER on IntegriCloud