diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 11:20:40 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | 2453d15dbf7fff2d897c2182886486732be8ac35 (patch) | |
| tree | 7a054859acf25689f67d5df7aa9d50b20bca4b62 /lib/northbound_grpc.cpp | |
| parent | 5f6eaa9b9668f3f09fbf6b1dc4e0645e07f641c9 (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 'lib/northbound_grpc.cpp')
| -rw-r--r-- | lib/northbound_grpc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/northbound_grpc.cpp b/lib/northbound_grpc.cpp index a06daa8676..66edead5d0 100644 --- a/lib/northbound_grpc.cpp +++ b/lib/northbound_grpc.cpp @@ -38,7 +38,7 @@ */ static bool nb_dbg_client_grpc = 0; -static struct thread_master *main_master; +static struct event_master *main_master; static struct frr_pthread *fpt; @@ -1298,7 +1298,7 @@ error: flog_err(EC_LIB_GRPC_INIT, "failed to initialize the gRPC module"); } -static int frr_grpc_module_late_init(struct thread_master *tm) +static int frr_grpc_module_late_init(struct event_master *tm) { main_master = tm; hook_register(frr_fini, frr_grpc_finish); |
