tdb2: rearrange log function to put data arg at the end.
[ccan] / ccan / tdb2 / test / run-seed.c
index 624bb15c8bce649c46904a34e071ff0aa754813c..c07ec9a82c81d4ef3ce5014b25007c3b7cd5afb2 100644 (file)
@@ -13,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_log_level level, void *priv,
-                     const char *message)
+                     enum tdb_log_level level,
+                     const char *message, void *priv)
 {
        log_count++;
 }