diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2021-08-27 10:39:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 10:39:45 +0200 |
commit | 8268be3d16f1705f1ed4f1bdc0bb4ba538a6285d (patch) | |
tree | 7601d448dbe8d3f042a9e477c6d8dac7071a324e /lib | |
parent | Merge pull request #9500 from tomaxuser/master (diff) | |
parent | lib: remove unused argument from vrf_cmd_init (diff) | |
download | frr-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.c | 3 | ||||
-rw-r--r-- | lib/vrf.h | 3 |
2 files changed, 2 insertions, 4 deletions
@@ -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); @@ -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 */ |