]> git.proxmox.com Git - mirror_frr.git/commit - watchfrr/watchfrr.c
*: update thread_add_* calls
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 5 May 2017 21:22:25 +0000 (21:22 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 9 May 2017 20:44:22 +0000 (20:44 +0000)
commit66e78ae64bc4659848517953b365606e3e70e878
treeef1339e397feed2b56b8d653d41c03aa5b2bd94f
parent32d86f8b7a327cfc6904d51d5c3ea8f5c6115e44
*: update thread_add_* calls

Pass pointer to pointer instead of assigning by return value. See
previous commit message.

To ensure that the behavior stays functionally correct, any assignments
with the result of a thread_add* function have been transformed to set
the pointer to null before passing it. These can be removed wherever the
pointer is known to already be null.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
57 files changed:
bgpd/bgp_damp.c
bgpd/bgp_dump.c
bgpd/bgp_network.c
bgpd/bgp_route.c
bgpd/bgp_routemap.c
bgpd/bgp_updgrp.c
bgpd/rfapi/rfapi_import.c
bgpd/rfapi/rfapi_monitor.c
bgpd/rfapi/rfapi_rib.c
bgpd/rfapi/vnc_export_bgp.c
ldpd/accept.c
ldpd/adjacency.c
ldpd/control.c
ldpd/interface.c
ldpd/lde.c
ldpd/lde_lib.c
ldpd/ldpd.c
ldpd/ldpe.c
ldpd/neighbor.c
ldpd/packet.c
lib/agentx.c
lib/sigevent.c
lib/smux.c
lib/vty.c
lib/workqueue.c
lib/zclient.c
ospf6d/ospf6_flood.c
ospf6d/ospf6_interface.c
ospf6d/ospf6_lsa.c
ospf6d/ospf6_message.c
ospf6d/ospf6_neighbor.c
ospf6d/ospf6_spf.c
ospf6d/ospf6_top.c
ospfd/ospf_apiserver.c
ospfd/ospf_lsa.c
ospfd/ospf_opaque.c
ospfd/ospf_packet.c
ospfd/ospf_spf.c
ospfd/ospf_zebra.c
ospfd/ospfd.c
pimd/pim_msdp_socket.c
pimd/pim_zlookup.c
ripd/rip_peer.c
ripd/ripd.c
ripngd/ripng_peer.c
ripngd/ripngd.c
tests/lib/test_timer_correctness.c
tests/lib/test_timer_performance.c
watchfrr/watchfrr.c
zebra/irdp_interface.c
zebra/irdp_main.c
zebra/irdp_packet.c
zebra/kernel_netlink.c
zebra/zebra_fpm.c
zebra/zebra_ptm.c
zebra/zebra_routemap.c
zebra/zserv.c