summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-09-23 22:26:56 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-09-23 22:26:56 +0200
commit4140ca4d153e8949afd6abc9e00fbbac3d47799c (patch)
treee21a92656dd140a433ce626128fc89801ef926a2 /ospf6d/ospf6_zebra.h
parentvtysh: Allow display of individual daemons configs (diff)
downloadfrr-4140ca4d153e8949afd6abc9e00fbbac3d47799c.tar.xz
frr-4140ca4d153e8949afd6abc9e00fbbac3d47799c.zip
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>
Diffstat (limited to 'ospf6d/ospf6_zebra.h')
-rw-r--r--ospf6d/ospf6_zebra.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_zebra.h b/ospf6d/ospf6_zebra.h
index c2e92b67f..972b44d4a 100644
--- a/ospf6d/ospf6_zebra.h
+++ b/ospf6d/ospf6_zebra.h
@@ -43,7 +43,7 @@ extern void ospf6_zebra_route_update_remove (struct ospf6_route *request);
extern void ospf6_zebra_redistribute (int);
extern void ospf6_zebra_no_redistribute (int);
#define ospf6_zebra_is_redistribute(type) (zclient->redist[AFI_IP6][type].enabled)
-extern void ospf6_zebra_init (void);
+extern void ospf6_zebra_init (struct thread_master *);
extern void ospf6_zebra_add_discard (struct ospf6_route *request);
extern void ospf6_zebra_delete_discard (struct ospf6_route *request);