summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ospfd/ospf_network.c2
-rw-r--r--ospfd/ospfd.c1
-rw-r--r--ospfd/ospfd.h1
3 files changed, 1 insertions, 3 deletions
diff --git a/ospfd/ospf_network.c b/ospfd/ospf_network.c
index 699f2341d..519e3f9cf 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 8ee32289c..3771f9463 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 4b0ebc8eb..4c5bb756f 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);