mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx: fix usage of __attribute__((format(gnu_printf, ...)) for clang.
Change-Id: Iaf3890a9c915f63896822f430b219bc107037540
This commit is contained in:
parent
2500c766b7
commit
796c4f5bc2
2
mdb.c
2
mdb.c
@ -1223,7 +1223,7 @@ static txnid_t mdbx_oomkick(MDB_env *env, txnid_t oldest);
|
||||
#endif /* MDBX_MODE_ENABLED */
|
||||
|
||||
static void mdb_debug_log(int type, const char *function, int line, const char *fmt, ...)
|
||||
__attribute__((format(gnu_printf, 4, 5)));
|
||||
__attribute__((format(printf, 4, 5)));
|
||||
|
||||
#if MDB_DEBUG
|
||||
static txnid_t mdb_debug_edge;
|
||||
|
Loading…
x
Reference in New Issue
Block a user