tdb2: rearrange log function to put data arg at the end.
[ccan] / ccan / tdb2 / private.h
index 1309ce16c0a14c79bc67ee2192696dc4033b0c80..a569b1db3667b05e27e6aaf27fdf0afd02182898 100644 (file)
@@ -367,8 +367,8 @@ struct tdb_context {
        /* Logging function */
        void (*log_fn)(struct tdb_context *tdb,
                       enum tdb_log_level level,
-                      void *data,
-                      const char *message);
+                      const char *message,
+                      void *data);
        void *log_data;
 
        /* Hash function. */