tdb2: rearrange log function to put data arg at the end.
[ccan] / ccan / tdb2 / tools / tdbtool.c
index 1cfcca8e26fdb5be18f167bb9065b5adcf6e0164..262253cda45a33c99e9b0e9b20b1d9856e269bce 100644 (file)
@@ -127,7 +127,7 @@ static double _end_timer(void)
 }
 
 static void tdb_log(struct tdb_context *tdb, enum tdb_log_level level,
-                   void *priv, const char *message)
+                   const char *message, void *priv)
 {
        fputs(message, stderr);
 }