From 52dc7ee65f8d887b0730abc0a5d44d27fc6ecafd Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 23 Sep 2004 19:18:23 +0000 Subject: Remove usage of evil list and listnode typedefs. --- ospf6d/ospf6_neighbor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ospf6d/ospf6_neighbor.c') diff --git a/ospf6d/ospf6_neighbor.c b/ospf6d/ospf6_neighbor.c index ad4261fc..752b3fc6 100644 --- a/ospf6d/ospf6_neighbor.c +++ b/ospf6d/ospf6_neighbor.c @@ -58,7 +58,7 @@ struct ospf6_neighbor * ospf6_neighbor_lookup (u_int32_t router_id, struct ospf6_interface *oi) { - listnode n; + struct listnode *n; struct ospf6_neighbor *on; for (n = listhead (oi->neighbor_list); n; nextnode (n)) @@ -772,7 +772,7 @@ DEFUN (show_ipv6_ospf6_neighbor, struct ospf6_neighbor *on; struct ospf6_interface *oi; struct ospf6_area *oa; - listnode i, j, k; + struct listnode *i, *j, *k; void (*showfunc) (struct vty *, struct ospf6_neighbor *); OSPF6_CMD_CHECK_RUNNING (); @@ -835,7 +835,7 @@ DEFUN (show_ipv6_ospf6_neighbor_one, struct ospf6_neighbor *on; struct ospf6_interface *oi; struct ospf6_area *oa; - listnode i, j, k; + struct listnode *i, *j, *k; void (*showfunc) (struct vty *, struct ospf6_neighbor *); u_int32_t router_id; -- cgit v1.2.1