| 276 | } |
| 277 | |
| 278 | static bool update_first(struct timers *timers) |
| 279 | { |
| 280 | const struct timer *found = get_first(timers); |
| 281 | |
| 282 | if (!found) { |
| 283 | timers->first = -1ULL; |
| 284 | return false; |
| 285 | } |
| 286 | |
| 287 | timers->first = found->time; |
| 288 | return true; |
| 289 | } |
| 290 | |
| 291 | bool timer_earliest(struct timers *timers, struct timemono *first) |
| 292 | { |
no test coverage detected