summaryrefslogtreecommitdiff
path: root/pbrd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-11 11:20:40 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:32:17 -0400
commit2453d15dbf7fff2d897c2182886486732be8ac35 (patch)
tree7a054859acf25689f67d5df7aa9d50b20bca4b62 /pbrd
parent5f6eaa9b9668f3f09fbf6b1dc4e0645e07f641c9 (diff)
*: 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 'pbrd')
-rw-r--r--pbrd/pbr_main.c2
-rw-r--r--pbrd/pbr_zebra.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/pbrd/pbr_main.c b/pbrd/pbr_main.c
index 2941dbeca7..360f5d6e09 100644
--- a/pbrd/pbr_main.c
+++ b/pbrd/pbr_main.c
@@ -56,7 +56,7 @@ struct zebra_privs_t pbr_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/pbrd/pbr_zebra.h b/pbrd/pbr_zebra.h
index 850e5f06d1..4d1768421f 100644
--- a/pbrd/pbr_zebra.h
+++ b/pbrd/pbr_zebra.h
@@ -11,7 +11,7 @@ struct pbr_interface {
char mapname[100];
};
-extern struct thread_master *master;
+extern struct event_master *master;
extern void pbr_zebra_init(void);