From d504ca174764d21c6bcd5d5f3360e5af70f4c8ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Fri, 10 Feb 2023 13:03:23 +0300 Subject: [PATCH] mdbx: fix proto of `__asan_default_options()` (backport). --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index e7f2958c..e72b4600 100644 --- a/src/core.c +++ b/src/core.c @@ -23266,7 +23266,7 @@ __dll_export }; #ifdef __SANITIZE_ADDRESS__ -LIBMDBX_API __attribute__((__weak__)) const char *__asan_default_options() { +LIBMDBX_API __attribute__((__weak__)) const char *__asan_default_options(void) { return "symbolize=1:allow_addr2line=1:" #if MDBX_DEBUG "debug=1:"