From 0b99f697e63d234e032e36d318c64dc6977ddfa4 Mon Sep 17 00:00:00 2001 From: haizhouyang Date: Thu, 20 May 2021 12:45:17 +0800 Subject: [PATCH] replace apache by dual license --- support/posix/src/osal_spinlock.c | 13 +++---------- utils/src/hdf_thread_ex.c | 13 +++---------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/support/posix/src/osal_spinlock.c b/support/posix/src/osal_spinlock.c index 695623b83..e51b7ff90 100644 --- a/support/posix/src/osal_spinlock.c +++ b/support/posix/src/osal_spinlock.c @@ -1,16 +1,9 @@ /* * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * HDF is dual licensed: you can use it either under the terms of + * the GPL, or the BSD license, at your option. + * See the LICENSE file in the root of this repository for complete details. */ #include "osal_spinlock.h" diff --git a/utils/src/hdf_thread_ex.c b/utils/src/hdf_thread_ex.c index ca0f15486..c4e1edeab 100644 --- a/utils/src/hdf_thread_ex.c +++ b/utils/src/hdf_thread_ex.c @@ -1,16 +1,9 @@ /* * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * HDF is dual licensed: you can use it either under the terms of + * the GPL, or the BSD license, at your option. + * See the LICENSE file in the root of this repository for complete details. */ #include "hdf_thread_ex.h" -- Gitee