| 612 | #endif /* XLOGFILE */ |
| 613 | |
| 614 | staticfn void |
| 615 | free_ttlist(struct toptenentry *tt) |
| 616 | { |
| 617 | struct toptenentry *ttnext; |
| 618 | |
| 619 | while (tt->points > 0) { |
| 620 | ttnext = tt->tt_next; |
| 621 | dealloc_ttentry(tt); |
| 622 | tt = ttnext; |
| 623 | } |
| 624 | dealloc_ttentry(tt); |
| 625 | } |
| 626 | |
| 627 | void |
| 628 | topten(int how, time_t when) |