summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ripngd/ripng_interface.c2
-rw-r--r--ripngd/ripngd.c2
-rw-r--r--ripngd/ripngd.h2
3 files changed, 1 insertions, 5 deletions
diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c
index d450d5a7f9..d1057bf53e 100644
--- a/ripngd/ripng_interface.c
+++ b/ripngd/ripng_interface.c
@@ -47,8 +47,6 @@
#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP
#endif
-extern struct zebra_privs_t ripngd_privs;
-
/* Static utility function. */
static void ripng_enable_apply(struct interface *);
static void ripng_passive_interface_apply(struct interface *);
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index df3af2a17f..daa2526a0c 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -50,8 +50,6 @@ enum { ripng_all_route,
ripng_changed_route,
};
-extern struct zebra_privs_t ripngd_privs;
-
/* Prototypes. */
void ripng_output_process(struct interface *, struct sockaddr_in6 *, int);
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h
index 9a609cab8a..25a5b46c02 100644
--- a/ripngd/ripngd.h
+++ b/ripngd/ripngd.h
@@ -327,7 +327,7 @@ enum ripng_event {
/* Extern variables. */
extern struct ripng *ripng;
-
+extern struct zebra_privs_t ripngd_privs;
extern struct thread_master *master;
/* Prototypes. */