diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-03-07 20:14:41 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 13:32:17 +0100 |
commit | cd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1 (patch) | |
tree | f97009b8971d71b4c05cbc0d00b98608efd40e44 /staticd | |
parent | *: Convert thread_master_XXX functions to event_master_XXX (diff) | |
download | frr-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 'staticd')
-rw-r--r-- | staticd/static_bfd.c | 2 | ||||
-rw-r--r-- | staticd/static_main.c | 2 | ||||
-rw-r--r-- | staticd/static_routes.h | 2 | ||||
-rw-r--r-- | staticd/static_zebra.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/staticd/static_bfd.c b/staticd/static_bfd.c index eceb35711..78d8c0580 100644 --- a/staticd/static_bfd.c +++ b/staticd/static_bfd.c @@ -201,7 +201,7 @@ void static_next_hop_bfd_profile(struct static_nexthop *sn, const char *name) bfd_sess_install(sn->bsp); } -void static_bfd_initialize(struct zclient *zc, struct event_master *tm) +void static_bfd_initialize(struct zclient *zc, struct event_loop *tm) { /* Initialize BFD integration library. */ bfd_protocol_integration_init(zc, tm); diff --git a/staticd/static_main.c b/staticd/static_main.c index 646340bac..d6ef91fea 100644 --- a/staticd/static_main.c +++ b/staticd/static_main.c @@ -51,7 +51,7 @@ struct zebra_privs_t static_privs = { struct option longopts[] = { { 0 } }; /* Master of threads. */ -struct event_master *master; +struct event_loop *master; uintptr_t mgmt_lib_hndl; diff --git a/staticd/static_routes.h b/staticd/static_routes.h index b5c8353e1..3be6fd6b1 100644 --- a/staticd/static_routes.h +++ b/staticd/static_routes.h @@ -252,7 +252,7 @@ extern void static_next_hop_bfd_profile(struct static_nexthop *sn, extern void static_next_hop_bfd_multi_hop(struct static_nexthop *sn, bool mhop); /** Call this function after zebra client initialization. */ -extern void static_bfd_initialize(struct zclient *zc, struct event_master *tm); +extern void static_bfd_initialize(struct zclient *zc, struct event_loop *tm); extern void static_bfd_show(struct vty *vty, bool isjson); diff --git a/staticd/static_zebra.h b/staticd/static_zebra.h index 0e7048f81..c4f4ebdcb 100644 --- a/staticd/static_zebra.h +++ b/staticd/static_zebra.h @@ -11,7 +11,7 @@ extern "C" { #endif -extern struct event_master *master; +extern struct event_loop *master; extern void static_zebra_nht_register(struct static_nexthop *nh, bool reg); |