diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 14:19:00 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 13:32:17 +0100 |
commit | 4f830a0799e74bd18af18e3ded5d6e16c79a7d56 (patch) | |
tree | e92b4fe1c6e633c1667f718f6e9a87d22d8518e3 /pimd/pim_time.c | |
parent | *: Convert thread_execute to event_execute (diff) | |
download | frr-4f830a0799e74bd18af18e3ded5d6e16c79a7d56.tar.xz frr-4f830a0799e74bd18af18e3ded5d6e16c79a7d56.zip |
*: Convert thread_timer_remain_XXX to event_timer_remain_XXX
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_time.c')
-rw-r--r-- | pimd/pim_time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_time.c b/pimd/pim_time.c index 23f800cf8..7b10d9114 100644 --- a/pimd/pim_time.c +++ b/pimd/pim_time.c @@ -125,7 +125,7 @@ void pim_time_timer_to_mmss(char *buf, int buf_size, struct event *t_timer) { if (t_timer) { pim_time_mmss(buf, buf_size, - thread_timer_remain_second(t_timer)); + event_timer_remain_second(t_timer)); } else { snprintf(buf, buf_size, "--:--"); } @@ -135,7 +135,7 @@ void pim_time_timer_to_hhmmss(char *buf, int buf_size, struct event *t_timer) { if (t_timer) { pim_time_hhmmss(buf, buf_size, - thread_timer_remain_second(t_timer)); + event_timer_remain_second(t_timer)); } else { snprintf(buf, buf_size, "--:--:--"); } @@ -160,5 +160,5 @@ long pim_time_timer_remain_msec(struct event *t_timer) { /* no timer thread running means timer has expired: return 0 */ - return t_timer ? thread_timer_remain_msec(t_timer) : 0; + return t_timer ? event_timer_remain_msec(t_timer) : 0; } |