]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/logging.c
tdb2: rearrange log function to put data arg at the end.
[ccan] / ccan / tdb2 / test / logging.c
index a3ddb329bcdfa9a28f1ffce84bb528fea0c03f3a..e36e2b8818d5ce41ffe9a9e458a0d5b60f6e17d1 100644 (file)
@@ -13,8 +13,8 @@ union tdb_attribute tap_log_attr = {
 };
 
 void tap_log_fn(struct tdb_context *tdb,
-               enum tdb_log_level level, void *priv,
-               const char *message)
+               enum tdb_log_level level,
+               const char *message, void *priv)
 {
        if (suppress_logging)
                return;