aboutsummaryrefslogtreecommitdiff
path: root/common/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/timer.c')
-rw-r--r--common/timer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/timer.c b/common/timer.c
index 0a11dc8..f36c90d 100644
--- a/common/timer.c
+++ b/common/timer.c
@@ -133,13 +133,15 @@ struct timer *find_timer(id_t cid)
return 0;
}
-void remove_timer(struct timer *t)
+stat_t remove_timer(struct timer *t)
{
if (!t)
return;
struct sp_node *n = &timer_node_container(t)->sp_n;
sp_remove(&sp_root(__cpu_timers()), n);
+
+ return OK;
}
ticks_t nsecs_to_ticks(tunit_t nsecs)