From f1dbcd04b95e07af33c7c6043eaab877889c3636 Mon Sep 17 00:00:00 2001 From: aqxyjay Date: Sat, 26 Jun 2021 17:52:57 +0800 Subject: [PATCH] support musl Signed-off-by: aqxyjay --- service/native/src/screen_action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/native/src/screen_action.cpp b/service/native/src/screen_action.cpp index db7785b..163a4c2 100644 --- a/service/native/src/screen_action.cpp +++ b/service/native/src/screen_action.cpp @@ -33,7 +33,7 @@ void ScreenAction::Init() DISPLAY_HILOGI(MODULE_SERVICE, "Succeed to init"); } -bool ScreenAction::SetPowerState(ScreenState state __unused) +bool ScreenAction::SetPowerState(ScreenState state __attribute__((__unused__))) { return true; } -- Gitee