]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: Make 'struct zebra_privs_t' available.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 11 Oct 2017 14:11:07 +0000 (10:11 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Oct 2017 22:09:23 +0000 (18:09 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospfd/ospf_network.c
ospfd/ospfd.c
ospfd/ospfd.h

index 699f2341d5618755d065e441cf181c34aac66891..519e3f9cf4b24f6e878269bad63df3691e26b91a 100644 (file)
@@ -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"
index 8ee32289c175dc20a3361f3452e35b4d5c99f6a8..3771f946309d3073eafbb13741859e1fab0245f9 100644 (file)
@@ -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 *);
index 4b0ebc8eb84d63d0d77ad30dff8b88d065b48e09..4c5bb756f6e759731f33af69e76a785e294af44c 100644 (file)
@@ -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);