void smt_timer_init(struct s_smc *smc)
{
- smc->t.st_queue = NULL;
+ smc->t.st_queue = 0 ;
smc->t.st_fast.tm_active = FALSE ;
- smc->t.st_fast.tm_next = NULL;
+ smc->t.st_fast.tm_next = 0 ;
hwt_init(smc) ;
}
timer->tm_active = TRUE ;
if (!smc->t.st_queue) {
smc->t.st_queue = timer ;
- timer->tm_next = NULL;
+ timer->tm_next = 0 ;
timer->tm_delta = time ;
hwt_start(smc,time) ;
return ;
done = 1 ;
}
}
- *last = NULL;
+ *last = 0 ;
next = smc->t.st_queue ;
smc->t.st_queue = tm ;