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. --- ripngd/ChangeLog | 4 ++++ ripngd/ripng_interface.c | 14 +++++++------- ripngd/ripngd.c | 12 ++++++------ 3 files changed, 17 insertions(+), 13 deletions(-) (limited to 'ripngd') diff --git a/ripngd/ChangeLog b/ripngd/ChangeLog index 64ee7d88..92dbf6f6 100644 --- a/ripngd/ChangeLog +++ b/ripngd/ChangeLog @@ -1,3 +1,7 @@ +2004-09-23 Hasso Tepper + + * *.[c|h]: list -> struct list *, listnode -> struct listnode *. + 2004-09-17 Paul Jakma * ripngd.c: move setsockopt_so_recvbuf to lib. diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c index 92067a7a..126829f6 100644 --- a/ripngd/ripng_interface.c +++ b/ripngd/ripng_interface.c @@ -158,7 +158,7 @@ ripng_if_ipv6_lladdress_check (struct interface *ifp) int ripng_check_max_mtu () { - listnode node; + struct listnode *node; struct interface *ifp; int mtu; @@ -335,7 +335,7 @@ ripng_interface_delete (int command, struct zclient *zclient, void ripng_interface_clean () { - listnode node; + struct listnode *node; struct interface *ifp; struct ripng_interface *ri; @@ -358,7 +358,7 @@ ripng_interface_clean () void ripng_interface_reset () { - listnode node; + struct listnode *node; struct interface *ifp; struct ripng_interface *ri; @@ -531,7 +531,7 @@ struct route_table *ripng_enable_network; int ripng_enable_network_lookup_if (struct interface *ifp) { - listnode listnode; + struct listnode *listnode; struct connected *connected; struct prefix_ipv6 address; @@ -823,7 +823,7 @@ void ripng_enable_apply_all () { struct interface *ifp; - listnode node; + struct listnode *node; for (node = listhead (iflist); node; nextnode (node)) { @@ -891,7 +891,7 @@ void ripng_passive_interface_apply_all (void) { struct interface *ifp; - listnode node; + struct listnode *node; for (node = listhead (iflist); node; nextnode (node)) { @@ -1162,7 +1162,7 @@ ripng_if_delete_hook (struct interface *ifp) int interface_config_write (struct vty *vty) { - listnode node; + struct listnode *node; struct interface *ifp; struct ripng_interface *ri; int write = 0; diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 77e47547..874848c9 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -391,7 +391,7 @@ ripng_nexthop_rte (struct rte *rte, int ripng_lladdr_check (struct interface *ifp, struct in6_addr *addr) { - listnode listnode; + struct listnode *listnode; struct connected *connected; struct prefix *p; @@ -1438,7 +1438,7 @@ ripng_clear_changed_flag () int ripng_update (struct thread *t) { - listnode node; + struct listnode *node; struct interface *ifp; struct ripng_interface *ri; @@ -1513,7 +1513,7 @@ ripng_triggered_interval (struct thread *t) int ripng_triggered_update (struct thread *t) { - listnode node; + struct listnode *node; struct interface *ifp; struct ripng_interface *ri; int interval; @@ -2146,7 +2146,7 @@ DEFUN (show_ipv6_ripng_status, "Show RIPng routes\n" "IPv6 routing protocol process parameters and statistics\n") { - listnode node; + struct listnode *node; int ripng_network_write (struct vty *, int); void ripng_redistribute_write (struct vty *, int); @@ -2816,7 +2816,7 @@ void ripng_distribute_update_all () { struct interface *ifp; - listnode node; + struct listnode *node; for (node = listhead (iflist); node; nextnode (node)) { @@ -2988,7 +2988,7 @@ void ripng_routemap_update () { struct interface *ifp; - listnode node; + struct listnode *node; for (node = listhead (iflist); node; nextnode (node)) { -- cgit v1.2.1