tdb: make tdb_private.h idempotent.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Feb 2012 17:34:43 +0000 (04:04 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Feb 2012 17:34:43 +0000 (04:04 +1030)
commit390b9a2dd8447ecd16e3957c02fa886781797733
treefcb0e1e4a8e9f823e07772b68c354d912214bec9
parentad2a2c4e3a7ee402755c2b83d2af6dccd256fa93
tdb: make tdb_private.h idempotent.

The most convenient way to write unit tests in C is to directly
#include the C files (CCAN uses this, for example).  That works quite
well, but it means that tdb_private.h now needs to be protected
against multiple inclusions.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb/common/tdb_private.h