summaryrefslogtreecommitdiffstats
path: root/pbrd
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 /pbrd
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 '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 360f5d6e0..c2a9298f3 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 event_master *master;
+struct event_loop *master;
/* SIGHUP handler. */
static void sighup(void)
diff --git a/pbrd/pbr_zebra.h b/pbrd/pbr_zebra.h
index 4d1768421..ef844ef79 100644
--- a/pbrd/pbr_zebra.h
+++ b/pbrd/pbr_zebra.h
@@ -11,7 +11,7 @@ struct pbr_interface {
char mapname[100];
};
-extern struct event_master *master;
+extern struct event_loop *master;
extern void pbr_zebra_init(void);