summaryrefslogtreecommitdiffstats
path: root/zebra/irdp_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-04-13 18:21:47 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-15 02:56:45 +0200
commit44e9909db444bead27483886b013b96fcf0aca47 (patch)
tree44dbc0deba22cb0c81950e69acdd96deeaafbd64 /zebra/irdp_main.c
parentlib, zebra: Rework vrf_add_update (diff)
downloadfrr-44e9909db444bead27483886b013b96fcf0aca47.tar.xz
frr-44e9909db444bead27483886b013b96fcf0aca47.zip
zebra: Refactor struct zebra_t
We were including 'extern struct zebra_t zebrad;' all over the place. This made no sense. Refactor into zserv.h where the definition was and remove resulting unnecessary code. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'zebra/irdp_main.c')
-rw-r--r--zebra/irdp_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/irdp_main.c b/zebra/irdp_main.c
index af493c5c0..069a2df00 100644
--- a/zebra/irdp_main.c
+++ b/zebra/irdp_main.c
@@ -69,8 +69,6 @@
extern struct zebra_privs_t zserv_privs;
-/* Master of threads. */
-extern struct zebra_t zebrad;
struct thread *t_irdp_raw;
/* Timer interval of irdp. */