tdb: combine dead_space helper from summary.c and check.c
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 23 Dec 2010 02:13:54 +0000 (12:43 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 23 Dec 2010 02:13:54 +0000 (12:43 +1030)
commit0a97f2dc1df96702dd88d4be169f43dd186c2bfa
treecb4de1d3eecbfa5affc71a9914679332f4dfece5
parent6535bdee664f3cec63098188928fe17e951b898b
tdb: combine dead_space helper from summary.c and check.c

Remove code duplication, and allow unit tests (which #include both).
ccan/tdb/check.c
ccan/tdb/summary.c
ccan/tdb/tdb_private.h