From e5c25022921aae85edd58dfc342e92af389d2fad Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 11 Oct 2017 10:11:07 -0400 Subject: [PATCH] ospfd: Make 'struct zebra_privs_t' available. Signed-off-by: Donald Sharp --- ospfd/ospf_network.c | 2 -- ospfd/ospfd.c | 1 - ospfd/ospfd.h | 1 + 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ospfd/ospf_network.c b/ospfd/ospf_network.c index 699f2341d5..519e3f9cf4 100644 --- a/ospfd/ospf_network.c +++ b/ospfd/ospf_network.c @@ -30,8 +30,6 @@ #include "sockopt.h" #include "privs.h" -extern struct zebra_privs_t ospfd_privs; - #include "ospfd/ospfd.h" #include "ospfd/ospf_network.h" #include "ospfd/ospf_interface.h" diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 8ee32289c1..3771f94630 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -67,7 +67,6 @@ struct ospf_master *om; extern struct zclient *zclient; extern struct in_addr router_id_zebra; -extern struct zebra_privs_t ospfd_privs; static void ospf_remove_vls_through_area(struct ospf *, struct ospf_area *); diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h index 4b0ebc8eb8..4c5bb756f6 100644 --- a/ospfd/ospfd.h +++ b/ospfd/ospfd.h @@ -502,6 +502,7 @@ extern const int ospf_redistributed_proto_max; extern struct zclient *zclient; extern struct thread_master *master; extern int ospf_zlog; +extern struct zebra_privs_t ospfd_privs; /* Prototypes. */ extern const char *ospf_redist_string(u_int route_type); -- 2.39.5