From 32e94178dd0fef74c86fcf1a8157715615de02d0 Mon Sep 17 00:00:00 2001 From: l00580197 Date: Fri, 7 Jul 2023 21:31:56 +0800 Subject: [PATCH] fix codecheck for src and test --- src/libhook/dlsym_hook.c | 13 ++++++++++++- src/static_template/static_template.c | 12 ++++++++++++ tests/test_simple/simple_app.c | 13 ++++++++++++- 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/src/libhook/dlsym_hook.c b/src/libhook/dlsym_hook.c index df268a6..b977719 100644 --- a/src/libhook/dlsym_hook.c +++ b/src/libhook/dlsym_hook.c @@ -1,4 +1,15 @@ -/* SPDX-License-Identifier: MulanPSL-2.0 */ +// Copyright (c) 2023 Huawei Technologies Co.,Ltd. All rights reserved. +// +// sysboost is licensed under Mulan PSL v2. +// You can use this software according to the terms and conditions of the Mulan +// PSL v2. +// You may obtain a copy of Mulan PSL v2 at: +// http://license.coscl.org.cn/MulanPSL2 +// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY +// KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +// NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. +// See the Mulan PSL v2 for more details. + #include #include #include diff --git a/src/static_template/static_template.c b/src/static_template/static_template.c index 9d00dc5..6a5bdd3 100644 --- a/src/static_template/static_template.c +++ b/src/static_template/static_template.c @@ -1,3 +1,15 @@ +// Copyright (c) 2023 Huawei Technologies Co.,Ltd. All rights reserved. +// +// sysboost is licensed under Mulan PSL v2. +// You can use this software according to the terms and conditions of the Mulan +// PSL v2. +// You may obtain a copy of Mulan PSL v2 at: +// http://license.coscl.org.cn/MulanPSL2 +// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY +// KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +// NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. +// See the Mulan PSL v2 for more details. + #include #include #include diff --git a/tests/test_simple/simple_app.c b/tests/test_simple/simple_app.c index 634c3fc..621afb8 100644 --- a/tests/test_simple/simple_app.c +++ b/tests/test_simple/simple_app.c @@ -1,4 +1,15 @@ -/* SPDX-License-Identifier: MulanPSL-2.0 */ +// Copyright (c) 2023 Huawei Technologies Co.,Ltd. All rights reserved. +// +// sysboost is licensed under Mulan PSL v2. +// You can use this software according to the terms and conditions of the Mulan +// PSL v2. +// You may obtain a copy of Mulan PSL v2 at: +// http://license.coscl.org.cn/MulanPSL2 +// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY +// KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +// NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. +// See the Mulan PSL v2 for more details. + #include int main(void) -- Gitee