};
static void
-timeq_cleanup(void)
+timeq_cleanup(UNUSED_ARG(void *extra))
{
timeq_del(0, 0, 0, TIMEQ_IGNORE_WHEN|TIMEQ_IGNORE_FUNC|TIMEQ_IGNORE_DATA);
heap_delete(timeq);
timeq_init(void)
{
timeq = heap_new(ulong_comparator);
- reg_exit_func(timeq_cleanup);
+ reg_exit_func(timeq_cleanup, NULL);
}
unsigned long