From 4859b6aa790f3ce720ef79570efbda9188198be5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E7=95=85?= Date: Wed, 21 Sep 2022 03:25:57 +0000 Subject: [PATCH] Adapt to utils abstraction of UI_WEAK_SYMBOL. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永畅 --- services/wms/wms.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/wms/wms.cpp b/services/wms/wms.cpp index 7309cbf..def198d 100644 --- a/services/wms/wms.cpp +++ b/services/wms/wms.cpp @@ -14,6 +14,7 @@ */ #include "hals/gfx_engines.h" +#include "gfx_utils/common_macros.h" #include "gfx_utils/graphic_log.h" #include "graphic_performance.h" #include "hals/hi_fbdev.h" @@ -22,7 +23,7 @@ #include "lite_wm.h" -extern "C" void __attribute__((weak)) HOS_SystemInit(void) +extern "C" void UI_WEAK_SYMBOL HOS_SystemInit(void) { SAMGR_Bootstrap(); } -- Gitee