summaryrefslogtreecommitdiffstats
path: root/lib/agentx.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-11 17:20:40 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:17 +0100
commit2453d15dbf7fff2d897c2182886486732be8ac35 (patch)
tree7a054859acf25689f67d5df7aa9d50b20bca4b62 /lib/agentx.c
parent*: Convert a bunch of thread_XX to event_XX (diff)
downloadfrr-2453d15dbf7fff2d897c2182886486732be8ac35.tar.xz
frr-2453d15dbf7fff2d897c2182886486732be8ac35.zip
*: Convert struct thread_master to struct event_master and it's ilk
Convert the `struct thread_master` to `struct event_master` across the code base. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/agentx.c')
-rw-r--r--lib/agentx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/agentx.c b/lib/agentx.c
index 7f66f9f9c..e20303813 100644
--- a/lib/agentx.c
+++ b/lib/agentx.c
@@ -27,7 +27,7 @@ DEFINE_HOOK(agentx_enabled, (), ());
static bool agentx_enabled = false;
-static struct thread_master *agentx_tm;
+static struct event_master *agentx_tm;
static struct event *timeout_thr = NULL;
static struct list *events = NULL;
@@ -244,7 +244,7 @@ bool smux_enabled(void)
return agentx_enabled;
}
-void smux_init(struct thread_master *tm)
+void smux_init(struct event_master *tm)
{
agentx_tm = tm;