tdb2: rearrange log function to put data arg at the end.
[ccan] / ccan / tdb2 / tools / speed.c
index c9fb0d0516145e001f93112159809bf93849e5e7..e5d6de342092ee4c6bfeaaa1d8f4f9763acdb134 100644 (file)
@@ -95,7 +95,7 @@ static void dump_and_clear_stats(struct tdb_attribute_stats *stats)
 }
 
 static void tdb_log(struct tdb_context *tdb, enum tdb_log_level level,
-                   void *data, const char *message)
+                   const char *message, void *data)
 {
        fputs(message, stderr);
 }