diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-02-28 17:49:43 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-03-02 15:17:47 +0100 |
commit | 55a70ffb787d7bde0bb8fa34703f069eeeff15f0 (patch) | |
tree | 8c439f0baaea12b643684bd93b6f0a7388656383 /lib/vty.c | |
parent | Merge pull request #10657 from patrasar/pim_remove_in_addr_none (diff) | |
download | frr-55a70ffb787d7bde0bb8fa34703f069eeeff15f0.tar.xz frr-55a70ffb787d7bde0bb8fa34703f069eeeff15f0.zip |
lib: Rename `enum event` to `enum vty_event`
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -65,7 +65,7 @@ DEFINE_MTYPE_STATIC(LIB, VTY_HIST, "VTY history"); DECLARE_DLIST(vtys, struct vty, itm); /* Vty events */ -enum event { +enum vty_event { VTY_SERV, VTY_READ, VTY_WRITE, @@ -90,8 +90,8 @@ struct vty_serv { DECLARE_DLIST(vtyservs, struct vty_serv, itm); -static void vty_event_serv(enum event event, struct vty_serv *); -static void vty_event(enum event, struct vty *); +static void vty_event_serv(enum vty_event event, struct vty_serv *); +static void vty_event(enum vty_event, struct vty *); /* Extern host structure from command.c */ extern struct host host; @@ -2683,7 +2683,7 @@ int vty_config_node_exit(struct vty *vty) /* Master of the threads. */ static struct thread_master *vty_master; -static void vty_event_serv(enum event event, struct vty_serv *vty_serv) +static void vty_event_serv(enum vty_event event, struct vty_serv *vty_serv) { switch (event) { case VTY_SERV: @@ -2701,7 +2701,7 @@ static void vty_event_serv(enum event event, struct vty_serv *vty_serv) } } -static void vty_event(enum event event, struct vty *vty) +static void vty_event(enum vty_event event, struct vty *vty) { switch (event) { #ifdef VTYSH |