summaryrefslogtreecommitdiffstats
path: root/sharpd
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 /sharpd
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 'sharpd')
-rw-r--r--sharpd/sharp_logpump.c2
-rw-r--r--sharpd/sharp_main.c2
-rw-r--r--sharpd/sharp_zebra.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sharpd/sharp_logpump.c b/sharpd/sharp_logpump.c
index a4a932e3c..4a3fffb28 100644
--- a/sharpd/sharp_logpump.c
+++ b/sharpd/sharp_logpump.c
@@ -28,7 +28,7 @@ static size_t lp_ctr, lp_expect;
static struct rusage lp_rusage;
static struct vty *lp_vty;
-extern struct thread_master *master;
+extern struct event_master *master;
static void logpump_done(struct event *thread)
{
diff --git a/sharpd/sharp_main.c b/sharpd/sharp_main.c
index 1895a49d8..3e3db11bb 100644
--- a/sharpd/sharp_main.c
+++ b/sharpd/sharp_main.c
@@ -55,7 +55,7 @@ struct zebra_privs_t sharp_privs = {
struct option longopts[] = {{0}};
/* Master of threads. */
-struct thread_master *master;
+struct event_master *master;
/* SIGHUP handler. */
static void sighup(void)
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c
index 3c1943587..8c468e0ae 100644
--- a/sharpd/sharp_zebra.c
+++ b/sharpd/sharp_zebra.c
@@ -26,7 +26,7 @@
struct zclient *zclient = NULL;
/* For registering threads. */
-extern struct thread_master *master;
+extern struct event_master *master;
/* Privs info */
extern struct zebra_privs_t sharp_privs;