summaryrefslogtreecommitdiff
path: root/isisd/isis_zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-09-23 13:26:56 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-09-23 13:26:56 -0700
commit4140ca4d153e8949afd6abc9e00fbbac3d47799c (patch)
treee21a92656dd140a433ce626128fc89801ef926a2 /isisd/isis_zebra.h
parentc006e89e9ae894f5e078cc53146e09225b53cc6f (diff)
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 'isisd/isis_zebra.h')
-rw-r--r--isisd/isis_zebra.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_zebra.h b/isisd/isis_zebra.h
index 889cd9b62f..cf6a738a1e 100644
--- a/isisd/isis_zebra.h
+++ b/isisd/isis_zebra.h
@@ -24,7 +24,7 @@
extern struct zclient *zclient;
-void isis_zebra_init (void);
+void isis_zebra_init(struct thread_master *);
void isis_zebra_route_update (struct prefix *prefix,
struct isis_route_info *route_info);
int isis_distribute_list_update (int routetype);