diff --git a/support/posix/src/osal_spinlock.c b/support/posix/src/osal_spinlock.c index 695623b837b761c19f969c4c69958397e34073c0..e51b7ff9095f69a6d67179a3bbfa641bc1b4ec8d 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 ca0f15486d44260db572626ac29bda1477e86204..c4e1edeab9205f732f331c3ff0ca8287686ac1a7 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"