summaryrefslogtreecommitdiffstats
path: root/lib/wheel.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-07 20:14:41 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:17 +0100
commitcd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1 (patch)
treef97009b8971d71b4c05cbc0d00b98608efd40e44 /lib/wheel.c
parent*: Convert thread_master_XXX functions to event_master_XXX (diff)
downloadfrr-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 'lib/wheel.c')
-rw-r--r--lib/wheel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wheel.c b/lib/wheel.c
index 02f27e313..d9362bac4 100644
--- a/lib/wheel.c
+++ b/lib/wheel.c
@@ -60,7 +60,7 @@ static void wheel_timer_thread(struct event *t)
event_execute(wheel->master, wheel_timer_thread_helper, wheel, 0);
}
-struct timer_wheel *wheel_init(struct event_master *master, int period,
+struct timer_wheel *wheel_init(struct event_loop *master, int period,
size_t slots,
unsigned int (*slot_key)(const void *),
void (*slot_run)(void *), const char *run_name)