diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 17:20:40 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 13:32:17 +0100 |
commit | 2453d15dbf7fff2d897c2182886486732be8ac35 (patch) | |
tree | 7a054859acf25689f67d5df7aa9d50b20bca4b62 /mgmtd/mgmt_be_adapter.c | |
parent | *: Convert a bunch of thread_XX to event_XX (diff) | |
download | frr-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 'mgmtd/mgmt_be_adapter.c')
-rw-r--r-- | mgmtd/mgmt_be_adapter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mgmtd/mgmt_be_adapter.c b/mgmtd/mgmt_be_adapter.c index 66184ad2f..6ef8875c9 100644 --- a/mgmtd/mgmt_be_adapter.c +++ b/mgmtd/mgmt_be_adapter.c @@ -106,7 +106,7 @@ static struct mgmt_be_xpath_regexp_map mgmt_xpath_map[MGMTD_BE_MAX_NUM_XPATH_MAP]; static int mgmt_num_xpath_maps; -static struct thread_master *mgmt_be_adapter_tm; +static struct event_master *mgmt_be_adapter_tm; static struct mgmt_be_adapters_head mgmt_be_adapters; @@ -805,7 +805,7 @@ extern void mgmt_be_adapter_unlock(struct mgmt_be_client_adapter **adapter) *adapter = NULL; } -int mgmt_be_adapter_init(struct thread_master *tm) +int mgmt_be_adapter_init(struct event_master *tm) { if (!mgmt_be_adapter_tm) { mgmt_be_adapter_tm = tm; |