summaryrefslogtreecommitdiffstats
path: root/ripngd/ripngd.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-09-24 09:25:19 -0400
committerPaul Jakma <paul@quagga.net>2015-10-27 10:53:21 +0000
commit7125293d65d73a451ec203c8c1630c236171f5a3 (patch)
treef9d118c9a8f8374d69fb9c75c87531a2ca478fb2 /ripngd/ripngd.h
parentfd1c1a133af47ae5533a5ed41b73ff62e7aa1058 (diff)
downloadquagga-7125293d65d73a451ec203c8c1630c236171f5a3.tar.bz2
quagga-7125293d65d73a451ec203c8c1630c236171f5a3.tar.xz
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 'ripngd/ripngd.h')
-rw-r--r--ripngd/ripngd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h
index 28ca41bc..6cbbd84b 100644
--- a/ripngd/ripngd.h
+++ b/ripngd/ripngd.h
@@ -358,7 +358,7 @@ extern void ripng_route_map_init (void);
extern void ripng_route_map_reset (void);
extern void ripng_terminate (void);
/* zclient_init() is done by ripng_zebra.c:zebra_init() */
-extern void zebra_init (void);
+extern void zebra_init (struct thread_master *);
extern void ripng_zclient_start (void);
extern void ripng_zclient_reset (void);
extern void ripng_offset_init (void);