summaryrefslogtreecommitdiff
path: root/sys/net/radix.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/net/radix.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/net/radix.c')
-rw-r--r--sys/net/radix.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c
index 7bb33174b3c..752273c3483 100644
--- a/sys/net/radix.c
+++ b/sys/net/radix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radix.c,v 1.7 2001/07/21 14:34:47 itojun Exp $ */
+/* $OpenBSD: radix.c,v 1.8 2002/03/14 01:27:10 millert Exp $ */
/* $NetBSD: radix.c,v 1.11 1996/03/16 23:55:36 christos Exp $ */
/*
@@ -65,10 +65,10 @@ static char *rn_zeros, *rn_ones;
#define Bcmp(a, b, l) (l == 0 ? 0 : bcmp((caddr_t)(a), (caddr_t)(b), (u_long)l))
-static int rn_satsifies_leaf __P((char *, struct radix_node *, int));
-static int rn_lexobetter __P((void *, void *));
-static struct radix_mask *rn_new_radix_mask __P((struct radix_node *,
- struct radix_mask *));
+static int rn_satsifies_leaf(char *, struct radix_node *, int);
+static int rn_lexobetter(void *, void *);
+static struct radix_mask *rn_new_radix_mask(struct radix_node *,
+ struct radix_mask *);
/*
* The data structure for the keys is a radix tree with one way
* branching removed. The index rn_b at an internal node n represents a bit
@@ -808,7 +808,7 @@ out:
int
rn_walktree(h, f, w)
struct radix_node_head *h;
- register int (*f) __P((struct radix_node *, void *));
+ register int (*f)(struct radix_node *, void *);
void *w;
{
int error;