]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_zebra.c
lib: zclient.c remove extern struct thread_master *
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 23 Sep 2015 20:26:56 +0000 (13:26 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 23 Sep 2015 20:26:56 +0000 (13:26 -0700)
commit4140ca4d153e8949afd6abc9e00fbbac3d47799c
treee21a92656dd140a433ce626128fc89801ef926a2
parentc006e89e9ae894f5e078cc53146e09225b53cc6f
lib: zclient.c remove extern struct thread_master *

zclient.c depended upon link time inclusion of a
extern struct thread_master *master.  This is a violation of the
namespace of the calling daemon.  If a library needs the pointer
pass it in and save it for future use.

This code change also makes the zclient code consistent with
the other lib functions that need to schedule work on your behalf

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
25 files changed:
babeld/babel_main.c
babeld/babel_zebra.c
babeld/babel_zebra.h
bgpd/bgp_zebra.c
bgpd/bgp_zebra.h
bgpd/bgpd.c
isisd/isis_main.c
isisd/isis_zebra.c
isisd/isis_zebra.h
lib/zclient.c
lib/zclient.h
ospf6d/ospf6_zebra.c
ospf6d/ospf6_zebra.h
ospf6d/ospf6d.c
ospfd/ospf_main.c
ospfd/ospf_zebra.c
ospfd/ospf_zebra.h
ripd/rip_main.c
ripd/rip_zebra.c
ripd/ripd.h
ripngd/ripng_main.c
ripngd/ripng_zebra.c
ripngd/ripngd.h
tests/bgp_mpath_test.c
zebra/client_main.c