summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-08-27 10:39:45 +0200
committerGitHub <noreply@github.com>2021-08-27 10:39:45 +0200
commit8268be3d16f1705f1ed4f1bdc0bb4ba538a6285d (patch)
tree7601d448dbe8d3f042a9e477c6d8dac7071a324e /lib
parentMerge pull request #9500 from tomaxuser/master (diff)
parentlib: remove unused argument from vrf_cmd_init (diff)
downloadfrr-8268be3d16f1705f1ed4f1bdc0bb4ba538a6285d.tar.xz
frr-8268be3d16f1705f1ed4f1bdc0bb4ba538a6285d.zip
Merge pull request #9496 from idryzhov/vrf-cmd-init-unused-arg
lib: remove unused argument from vrf_cmd_init
Diffstat (limited to 'lib')
-rw-r--r--lib/vrf.c3
-rw-r--r--lib/vrf.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/vrf.c b/lib/vrf.c
index 181c29155..79313d66d 100644
--- a/lib/vrf.c
+++ b/lib/vrf.c
@@ -907,8 +907,7 @@ void vrf_install_commands(void)
install_element(ENABLE_NODE, &no_vrf_debug_cmd);
}
-void vrf_cmd_init(int (*writefunc)(struct vty *vty),
- struct zebra_privs_t *daemon_privs)
+void vrf_cmd_init(int (*writefunc)(struct vty *vty))
{
install_element(CONFIG_NODE, &vrf_cmd);
install_element(CONFIG_NODE, &no_vrf_cmd);
diff --git a/lib/vrf.h b/lib/vrf.h
index 7ce03079d..f8b0148eb 100644
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -285,8 +285,7 @@ extern int vrf_switchback_to_initial(void);
/* VRF vty command initialisation
*/
-extern void vrf_cmd_init(int (*writefunc)(struct vty *vty),
- struct zebra_privs_t *daemon_priv);
+extern void vrf_cmd_init(int (*writefunc)(struct vty *vty));
/* VRF vty debugging
*/