X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb%2Ftdb.h;h=5d1d63c00f49b11befcc324df4c582c6375ede60;hb=a791eb1e4c369104f90c543fe9ebafcae113ead8;hp=01ff905ae2af29a8ff4e6e2d4ea7872b4013def5;hpb=c4c5fed020ba44b9930119672a36a1cb33aff090;p=ccan diff --git a/ccan/tdb/tdb.h b/ccan/tdb/tdb.h index 01ff905a..5d1d63c0 100644 --- a/ccan/tdb/tdb.h +++ b/ccan/tdb/tdb.h @@ -82,7 +82,7 @@ typedef struct TDB_DATA { typedef struct tdb_context TDB_CONTEXT; typedef int (*tdb_traverse_func)(struct tdb_context *, TDB_DATA, TDB_DATA, void *); -typedef void (*tdb_log_func)(struct tdb_context *, enum tdb_debug_level, const char *, ...) PRINTF_ATTRIBUTE(3, 4); +typedef void (*tdb_log_func)(struct tdb_context *, enum tdb_debug_level, const char *, ...) PRINTF_FMT(3, 4); typedef unsigned int (*tdb_hash_func)(TDB_DATA *key); struct tdb_logging_context {