From 5cb6ce9c67731b88017266f734c9a79e7a00d23d Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 11 Oct 2017 10:23:12 -0400 Subject: [PATCH] ripngd: Make 'struct zebra_privs_t' available Signed-off-by: Donald Sharp --- ripngd/ripng_interface.c | 2 -- ripngd/ripngd.c | 2 -- ripngd/ripngd.h | 2 +- 3 files changed, 1 insertion(+), 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. */ -- 2.39.5