From 3ebdcba13e8390018d92ab9b54b86a82858f2bd5 Mon Sep 17 00:00:00 2001 From: shuxinyia Date: Wed, 20 Jul 2022 18:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=20=20=20=20=20=E4=BF=AE=E6=94=B9musl=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=AA=8C=E8=AF=81=20=20=20=20=20=20Signed-of?= =?UTF-8?q?f-by:shuxinyiA=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shuxinyia --- porting/linux/user/src/hook/musl_preinit_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/porting/linux/user/src/hook/musl_preinit_common.h b/porting/linux/user/src/hook/musl_preinit_common.h index 06af2bf0..a6916096 100755 --- a/porting/linux/user/src/hook/musl_preinit_common.h +++ b/porting/linux/user/src/hook/musl_preinit_common.h @@ -27,10 +27,10 @@ enum EnumHookMode { STEP_HOOK_MODE, }; -#ifdef HOOK_ENABLE + extern void* function_of_shared_lib[]; extern volatile atomic_llong ohos_malloc_hook_shared_liibrary; -#endif + #ifdef __cplusplus extern "C" { -- GitLab