summaryrefslogtreecommitdiffstats
path: root/sys/net/radix.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-14 03:15:49 +0000
committermillert <millert@openbsd.org>2002-03-14 03:15:49 +0000
commit4f9e30d05c4b39ece1e3c5a9323df2ddfd85bd9b (patch)
tree021b0ffa6ce82de256743d5f188c18bf3aee34de /sys/net/radix.h
parentgenerate std ANSI protos, not __P ones (diff)
downloadwireguard-openbsd-4f9e30d05c4b39ece1e3c5a9323df2ddfd85bd9b.tar.xz
wireguard-openbsd-4f9e30d05c4b39ece1e3c5a9323df2ddfd85bd9b.zip
Final __P removal plus some cosmetic fixups
Diffstat (limited to 'sys/net/radix.h')
-rw-r--r--sys/net/radix.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/radix.h b/sys/net/radix.h
index e2835f7dcc9..0aa628df683 100644
--- a/sys/net/radix.h
+++ b/sys/net/radix.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: radix.h,v 1.6 2002/03/14 01:27:10 millert Exp $ */
+/* $OpenBSD: radix.h,v 1.7 2002/03/14 03:16:10 millert Exp $ */
/* $NetBSD: radix.h,v 1.8 1996/02/13 22:00:37 christos Exp $ */
/*
@@ -121,8 +121,8 @@ struct radix_node_head {
struct radix_node *(*rnh_lookup) /* locate based on sockaddr */(void *v, void *mask, struct radix_node_head *head);
struct radix_node *(*rnh_matchpkt) /* locate based on packet hdr */(void *v, struct radix_node_head *head);
int (*rnh_walktree) /* traverse tree */
- __P((struct radix_node_head *,
- int (*)(struct radix_node *, void *), void *));
+ (struct radix_node_head *,
+ int (*)(struct radix_node *, void *), void *);
struct radix_node rnh_nodes[3]; /* empty tree for common case */
};
@@ -145,8 +145,8 @@ struct radix_node_head {
void rn_init(void);
int rn_inithead(void **, int);
int rn_refines(void *, void *);
-int rn_walktree __P((struct radix_node_head *,
- int (*)(struct radix_node *, void *), void *));
+int rn_walktree(struct radix_node_head *,
+ int (*)(struct radix_node *, void *), void *);
struct radix_node
*rn_addmask(void *, int, int),
*rn_addroute(void *, void *, struct radix_node_head *,