tdb2: rearrange log function to put data arg at the end.
[ccan] / ccan / tdb2 / test / logging.h
index 502506d4253197fbc1079a8e07d80f54f125af2c..d172f867fd218f4984d5061631bda9c3cb57ce4c 100644 (file)
@@ -10,6 +10,6 @@ extern unsigned tap_log_messages;
 extern union tdb_attribute tap_log_attr;
 
 void tap_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);
 #endif /* TDB2_TEST_LOGGING_H */