summaryrefslogtreecommitdiff
path: root/lib/agentx.c
diff options
context:
space:
mode:
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 7f66f9f9c7..e203038136 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;