diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-11-24 22:57:19 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-11-24 22:57:19 +0000 |
commit | eac9eb985db52cc0602ececab81686cca0bde915 (patch) | |
tree | 3d41f0a45e80dbaf06820d32d70c7bd5e3482577 /usr.sbin | |
parent | 32663251e462e9fd36bf8997f5852fc823833c25 (diff) |
if I would remember at what I looked when learning how to use our wonderful
RB_* macros I could fix the RB_HEAD calls there too... useless extra define,
nothingthat hurts much. stumbled over while hacking on, eh, something new,
claudio ok
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/kroute.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 82e65185e18..ccdf99d0979 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.111 2004/11/10 14:48:25 claudio Exp $ */ +/* $OpenBSD: kroute.c,v 1.112 2004/11/24 22:57:18 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -114,19 +114,19 @@ int dispatch_rtmsg(void); int fetchtable(void); int fetchifs(int); -RB_HEAD(kroute_tree, kroute_node) kroute_tree, krt; +RB_HEAD(kroute_tree, kroute_node) krt; RB_PROTOTYPE(kroute_tree, kroute_node, entry, kroute_compare) RB_GENERATE(kroute_tree, kroute_node, entry, kroute_compare) -RB_HEAD(kroute6_tree, kroute6_node) kroute6_tree, krt6; +RB_HEAD(kroute6_tree, kroute6_node) krt6; RB_PROTOTYPE(kroute6_tree, kroute6_node, entry, kroute6_compare) RB_GENERATE(kroute6_tree, kroute6_node, entry, kroute6_compare) -RB_HEAD(knexthop_tree, knexthop_node) knexthop_tree, knt; +RB_HEAD(knexthop_tree, knexthop_node) knt; RB_PROTOTYPE(knexthop_tree, knexthop_node, entry, knexthop_compare) RB_GENERATE(knexthop_tree, knexthop_node, entry, knexthop_compare) -RB_HEAD(kif_tree, kif_node) kif_tree, kit; +RB_HEAD(kif_tree, kif_node) kit; RB_PROTOTYPE(kif_tree, kif_node, entry, kif_compare) RB_GENERATE(kif_tree, kif_node, entry, kif_compare) |