summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-07 20:14:41 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:17 +0100
commitcd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1 (patch)
treef97009b8971d71b4c05cbc0d00b98608efd40e44 /vtysh
parent*: Convert thread_master_XXX functions to event_master_XXX (diff)
downloadfrr-cd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1.tar.xz
frr-cd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1.zip
*: Convert `struct event_master` to `struct event_loop`
Let's find a better name for it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.h4
-rw-r--r--vtysh/vtysh_main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/vtysh/vtysh.h b/vtysh/vtysh.h
index 3299df67e..cb6357f5e 100644
--- a/vtysh/vtysh.h
+++ b/vtysh/vtysh.h
@@ -9,9 +9,9 @@
#include "memory.h"
DECLARE_MGROUP(MVTYSH);
-struct event_master;
+struct event_loop;
-extern struct event_master *master;
+extern struct event_loop *master;
#define VTYSH_ZEBRA 0x00001
#define VTYSH_RIPD 0x00002
diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c
index 7b92ac220..c22889a4f 100644
--- a/vtysh/vtysh_main.c
+++ b/vtysh/vtysh_main.c
@@ -64,7 +64,7 @@ int execute_flag = 0;
int user_mode;
/* Master of threads. */
-struct event_master *master;
+struct event_loop *master;
/* Command logging */
FILE *logfile;