| 488 | } |
| 489 | |
| 490 | static void destroy_log_book(struct log_book *log) |
| 491 | { |
| 492 | while (ringbuf_used(log) > 0) |
| 493 | del_front_log(log); |
| 494 | } |
| 495 | |
| 496 | struct log_book *new_log_book(struct lightningd *ld) |
| 497 | { |
nothing calls this directly
no test coverage detected