summaryrefslogtreecommitdiff
path: root/zebra/router-id.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-04-13 12:21:47 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-14 20:56:45 -0400
commit44e9909db444bead27483886b013b96fcf0aca47 (patch)
tree44dbc0deba22cb0c81950e69acdd96deeaafbd64 /zebra/router-id.c
parente2b1be648db7e7906aa5e4e04b23ef88cbeff04a (diff)
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/router-id.c')
-rw-r--r--zebra/router-id.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/zebra/router-id.c b/zebra/router-id.c
index 968fbc677d..a3195cdc9f 100644
--- a/zebra/router-id.c
+++ b/zebra/router-id.c
@@ -42,10 +42,6 @@
#include "zebra/router-id.h"
#include "zebra/redistribute.h"
-
-/* master zebra server structure */
-extern struct zebra_t zebrad;
-
static struct connected *
router_id_find_node (struct list *l, struct connected *ifc)
{