| 479 | } |
| 480 | |
| 481 | static void destroy_log_book(struct log_book *log) |
| 482 | { |
| 483 | while (ringbuf_used(log) > 0) |
| 484 | del_front_log(log); |
| 485 | } |
| 486 | |
| 487 | struct log_book *new_log_book(struct lightningd *ld) |
| 488 | { |
nothing calls this directly
no test coverage detected