]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-seed.c
tdb2: update documentation
[ccan] / ccan / tdb2 / test / run-seed.c
index d78e863d12c6bc4d37a17081f1fe97e5d5b4e50b..6abf5e9a73ce7ce1c3fd5e843a04304d38db566f 100644 (file)
@@ -4,6 +4,7 @@
 #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"
 
@@ -12,7 +13,7 @@ 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, ...)
+                     const char *message)
 {
        log_count++;
 }