mdbx: fix usage of __attribute__((format(gnu_printf, ...)) for clang.

Change-Id: Iaf3890a9c915f63896822f430b219bc107037540
This commit is contained in:
Leo Yuriev 2016-08-25 21:10:52 +03:00
parent 2500c766b7
commit 796c4f5bc2

2
mdb.c
View File

@ -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;