tdb2: rearrange log function to put data arg at the end.
[ccan] / ccan / tdb2 / tdb2.h
index 47ec3041b85723b49e45c8b10458ee57c1f8cacc..0731503b874ce130649f1bb64964460b1c7ad9f1 100644 (file)
@@ -642,8 +642,8 @@ struct tdb_attribute_log {
        struct tdb_attribute_base base; /* .attr = TDB_ATTRIBUTE_LOG */
        void (*fn)(struct tdb_context *tdb,
                   enum tdb_log_level level,
-                  void *data,
-                  const char *message);
+                  const char *message,
+                  void *data);
        void *data;
 };