diff --git a/tests/test_app/common_func.c b/tests/test_app/common_func.c index 13bef50a5dce9b310756abf47660a45695e754a9..3c4af2b3f268fc268d8fa4c73a7b73c7bd58998f 100644 --- a/tests/test_app/common_func.c +++ b/tests/test_app/common_func.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 run_b(int a, int b) diff --git a/tests/test_app/test_app.c b/tests/test_app/test_app.c index c2c4f55412aa0355c2a9992ca89bdc021711f8d3..1d77b0f91073a1fb2b165e507cccc7310513a274 100644 --- a/tests/test_app/test_app.c +++ b/tests/test_app/test_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. + #define _GNU_SOURCE #define __USE_GNU 1 #include diff --git a/tests/test_app/util1.c b/tests/test_app/util1.c index 6299b95aa80e9de04369f5da497aaecd90545f96..e8f5300598b8b337b2d964d0cbe160468140ca28 100644 --- a/tests/test_app/util1.c +++ b/tests/test_app/util1.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 __attribute__((constructor)) void constructor_in_lib1(void) diff --git a/tests/test_app/util2.c b/tests/test_app/util2.c index 9a7014c21e75baf379039449462d009bbb94526c..7498b2c2222e7186f17eec3f00d4772a1a036a27 100644 --- a/tests/test_app/util2.c +++ b/tests/test_app/util2.c @@ -1,4 +1,17 @@ /* 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 // __thread int g_thread_lib21 = 5; // __thread int g_thread_lib22 = 6;