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 /eigrpd | |
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 'eigrpd')
-rw-r--r-- | eigrpd/eigrp_main.c | 2 | ||||
-rw-r--r-- | eigrpd/eigrp_zebra.c | 2 | ||||
-rw-r--r-- | eigrpd/eigrpd.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/eigrpd/eigrp_main.c b/eigrpd/eigrp_main.c index 5cd1353a9..3b94e5da2 100644 --- a/eigrpd/eigrp_main.c +++ b/eigrpd/eigrp_main.c @@ -76,7 +76,7 @@ struct zebra_privs_t eigrpd_privs = { struct option longopts[] = {{0}}; /* Master of threads. */ -struct thread_master *master; +struct event_master *master; /* Forward declaration of daemon info structure. */ static struct frr_daemon_info eigrpd_di; diff --git a/eigrpd/eigrp_zebra.c b/eigrpd/eigrp_zebra.c index 0ae8c3b45..f5a71fd4f 100644 --- a/eigrpd/eigrp_zebra.c +++ b/eigrpd/eigrp_zebra.c @@ -49,7 +49,7 @@ static int eigrp_zebra_read_route(ZAPI_CALLBACK_ARGS); struct zclient *zclient = NULL; /* For registering threads. */ -extern struct thread_master *master; +extern struct event_master *master; struct in_addr router_id_zebra; /* Router-id update message from zebra. */ diff --git a/eigrpd/eigrpd.h b/eigrpd/eigrpd.h index 6e5d5d13d..32c7e44af 100644 --- a/eigrpd/eigrpd.h +++ b/eigrpd/eigrpd.h @@ -35,7 +35,7 @@ struct eigrp_master { struct list *eigrp; /* EIGRP thread master. */ - struct thread_master *master; + struct event_master *master; /* Zebra interface list. */ struct list *iflist; @@ -51,7 +51,7 @@ struct eigrp_master { /* Extern variables. */ extern struct zclient *zclient; -extern struct thread_master *master; +extern struct event_master *master; extern struct eigrp_master *eigrp_om; extern struct zebra_privs_t eigrpd_privs; |