From: Donald Sharp Date: Wed, 11 Oct 2017 14:23:12 +0000 (-0400) Subject: ripngd: Make 'struct zebra_privs_t' available X-Git-Tag: frr-4.0-dev~195^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5cb6ce9c67731b88017266f734c9a79e7a00d23d;p=mirror%2Ffrr.git ripngd: Make 'struct zebra_privs_t' available Signed-off-by: Donald Sharp --- 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. */