diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-03-07 14:14:41 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | cd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1 (patch) | |
| tree | f97009b8971d71b4c05cbc0d00b98608efd40e44 /lib/northbound_sysrepo.c | |
| parent | ce50d11c4d89304825b614d63fe6d7bd8ad2d517 (diff) | |
*: 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 'lib/northbound_sysrepo.c')
| -rw-r--r-- | lib/northbound_sysrepo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/northbound_sysrepo.c b/lib/northbound_sysrepo.c index 2cfee9de61..86105d2e77 100644 --- a/lib/northbound_sysrepo.c +++ b/lib/northbound_sysrepo.c @@ -23,7 +23,7 @@ DEFINE_MTYPE_STATIC(LIB, SYSREPO, "Sysrepo module"); static struct debug nb_dbg_client_sysrepo = {0, "Northbound client: Sysrepo"}; -static struct event_master *master; +static struct event_loop *master; static sr_session_ctx_t *session; static sr_conn_ctx_t *connection; static struct nb_transaction *transaction; @@ -721,7 +721,7 @@ static int frr_sr_finish(void) return 0; } -static int frr_sr_module_config_loaded(struct event_master *tm) +static int frr_sr_module_config_loaded(struct event_loop *tm) { master = tm; @@ -736,7 +736,7 @@ static int frr_sr_module_config_loaded(struct event_master *tm) return 0; } -static int frr_sr_module_late_init(struct event_master *tm) +static int frr_sr_module_late_init(struct event_loop *tm) { frr_sr_cli_init(); |
