]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-seed.c
tdb2: move open routines into a separate file (open.c)
[ccan] / ccan / tdb2 / test / run-seed.c
index d78e863d12c6bc4d37a17081f1fe97e5d5b4e50b..09ed1cb31c39207e14adaa64fe132e53f4e4f513 100644 (file)
@@ -1,9 +1,11 @@
 #include <ccan/tdb2/tdb.c>
+#include <ccan/tdb2/open.c>
 #include <ccan/tdb2/free.c>
 #include <ccan/tdb2/lock.c>
 #include <ccan/tdb2/io.c>
 #include <ccan/tdb2/hash.c>
 #include <ccan/tdb2/check.c>
+#include <ccan/tdb2/transaction.c>
 #include <ccan/tap/tap.h>
 #include "logging.h"
 
@@ -11,8 +13,8 @@ static int log_count = 0;
 
 /* Normally we get a log when setting random seed. */
 static void my_log_fn(struct tdb_context *tdb,
-                     enum tdb_debug_level level, void *priv,
-                     const char *fmt, ...)
+                     enum tdb_log_level level, void *priv,
+                     const char *message)
 {
        log_count++;
 }