diff --git a/libs/libm/CMakeLists.txt b/libs/libm/CMakeLists.txt index 2568ce3f65e..211f080e8fa 100644 --- a/libs/libm/CMakeLists.txt +++ b/libs/libm/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libm/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/libs/libm/Makefile b/libs/libm/Makefile index ed20d5baf1e..f3dd77d6fed 100644 --- a/libs/libm/Makefile +++ b/libs/libm/Makefile @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/libs/libm/bin/Makefile b/libs/libm/bin/Makefile index 2700e422989..db15a994aa7 100644 --- a/libs/libm/bin/Makefile +++ b/libs/libm/bin/Makefile @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/bin/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/libs/libm/kbin/Makefile b/libs/libm/kbin/Makefile index 4e2655b3526..ce9d1532ee8 100644 --- a/libs/libm/kbin/Makefile +++ b/libs/libm/kbin/Makefile @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/kbin/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/CMakeLists.txt b/libs/libm/libm/CMakeLists.txt index c0f26965db9..72a23c433fb 100644 --- a/libs/libm/libm/CMakeLists.txt +++ b/libs/libm/libm/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libm/libm/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/libs/libm/libm/Make.defs b/libs/libm/libm/Make.defs index 95410afa591..f42211a2027 100644 --- a/libs/libm/libm/Make.defs +++ b/libs/libm/libm/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/libm/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/__cos.c b/libs/libm/libm/__cos.c index 9e6e77fce0c..1a59752d0c2 100644 --- a/libs/libm/libm/__cos.c +++ b/libs/libm/libm/__cos.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/__cos.c * - * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (C) 1993 by Sun Microsystems, Inc. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this diff --git a/libs/libm/libm/__sin.c b/libs/libm/libm/__sin.c index 4954623419f..fd9af09e633 100644 --- a/libs/libm/libm/__sin.c +++ b/libs/libm/libm/__sin.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/__sin.c * - * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (C) 1993 by Sun Microsystems, Inc. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this diff --git a/libs/libm/libm/arm/CMakeLists.txt b/libs/libm/libm/arm/CMakeLists.txt index cf5ec49e222..82e2622a5c3 100644 --- a/libs/libm/libm/arm/CMakeLists.txt +++ b/libs/libm/libm/arm/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libm/libm/arm/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/libs/libm/libm/arm/Make.defs b/libs/libm/libm/arm/Make.defs index aaf17eacb4d..e9eec74ae5f 100644 --- a/libs/libm/libm/arm/Make.defs +++ b/libs/libm/libm/arm/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/libm/arm/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/arm/armv7-m/CMakeLists.txt b/libs/libm/libm/arm/armv7-m/CMakeLists.txt index d1f5cf5b00c..a946ca9f3f4 100644 --- a/libs/libm/libm/arm/armv7-m/CMakeLists.txt +++ b/libs/libm/libm/arm/armv7-m/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libm/libm/arm/armv7-m/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/libs/libm/libm/arm/armv7-m/Make.defs b/libs/libm/libm/arm/armv7-m/Make.defs index 27f429a5474..413f609378f 100644 --- a/libs/libm/libm/arm/armv7-m/Make.defs +++ b/libs/libm/libm/arm/armv7-m/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/libm/arm/armv7-m/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/arm/armv7-m/arch_fabsf.c b/libs/libm/libm/arm/armv7-m/arch_fabsf.c index f0ce23e0437..1a073fe4a57 100644 --- a/libs/libm/libm/arm/armv7-m/arch_fabsf.c +++ b/libs/libm/libm/arm/armv7-m/arch_fabsf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv7-m/arch_fabsf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/arm/armv7-m/arch_sqrtf.c b/libs/libm/libm/arm/armv7-m/arch_sqrtf.c index d29441967bd..76ae80a40af 100644 --- a/libs/libm/libm/arm/armv7-m/arch_sqrtf.c +++ b/libs/libm/libm/arm/armv7-m/arch_sqrtf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv7-m/arch_sqrtf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/arm/armv8-m/CMakeLists.txt b/libs/libm/libm/arm/armv8-m/CMakeLists.txt index 6eafa9c5b3f..e5c9dca9834 100644 --- a/libs/libm/libm/arm/armv8-m/CMakeLists.txt +++ b/libs/libm/libm/arm/armv8-m/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libm/libm/arm/armv8-m/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/libs/libm/libm/arm/armv8-m/Make.defs b/libs/libm/libm/arm/armv8-m/Make.defs index 379b0682f75..20e83ff9a2b 100644 --- a/libs/libm/libm/arm/armv8-m/Make.defs +++ b/libs/libm/libm/arm/armv8-m/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/libm/arm/armv8-m/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/arm/armv8-m/arch_ceil.c b/libs/libm/libm/arm/armv8-m/arch_ceil.c index 6b5f95ec323..8d49992171e 100644 --- a/libs/libm/libm/arm/armv8-m/arch_ceil.c +++ b/libs/libm/libm/arm/armv8-m/arch_ceil.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_ceil.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_ceilf.c b/libs/libm/libm/arm/armv8-m/arch_ceilf.c index 5477e92c922..a471211a4a8 100644 --- a/libs/libm/libm/arm/armv8-m/arch_ceilf.c +++ b/libs/libm/libm/arm/armv8-m/arch_ceilf.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_ceilf.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_floor.c b/libs/libm/libm/arm/armv8-m/arch_floor.c index f2f8a9f8934..17455dd45e4 100644 --- a/libs/libm/libm/arm/armv8-m/arch_floor.c +++ b/libs/libm/libm/arm/armv8-m/arch_floor.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_floor.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_floorf.c b/libs/libm/libm/arm/armv8-m/arch_floorf.c index f85bbd2aa22..1ee78368ee7 100644 --- a/libs/libm/libm/arm/armv8-m/arch_floorf.c +++ b/libs/libm/libm/arm/armv8-m/arch_floorf.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_floorf.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_nearbyint.c b/libs/libm/libm/arm/armv8-m/arch_nearbyint.c index 242bf8d2fad..ae52916380b 100644 --- a/libs/libm/libm/arm/armv8-m/arch_nearbyint.c +++ b/libs/libm/libm/arm/armv8-m/arch_nearbyint.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_nearbyint.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_nearbyintf.c b/libs/libm/libm/arm/armv8-m/arch_nearbyintf.c index a0715041d88..f6b36b3878b 100644 --- a/libs/libm/libm/arm/armv8-m/arch_nearbyintf.c +++ b/libs/libm/libm/arm/armv8-m/arch_nearbyintf.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_nearbyintf.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_rint.c b/libs/libm/libm/arm/armv8-m/arch_rint.c index 2ce874d29dd..2918f029267 100644 --- a/libs/libm/libm/arm/armv8-m/arch_rint.c +++ b/libs/libm/libm/arm/armv8-m/arch_rint.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_rint.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_rintf.c b/libs/libm/libm/arm/armv8-m/arch_rintf.c index 3307f7f22e0..cfab0c31dd9 100644 --- a/libs/libm/libm/arm/armv8-m/arch_rintf.c +++ b/libs/libm/libm/arm/armv8-m/arch_rintf.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_rintf.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_round.c b/libs/libm/libm/arm/armv8-m/arch_round.c index f0a754f27bd..630fb3c76aa 100644 --- a/libs/libm/libm/arm/armv8-m/arch_round.c +++ b/libs/libm/libm/arm/armv8-m/arch_round.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_round.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_roundf.c b/libs/libm/libm/arm/armv8-m/arch_roundf.c index 2d03d6bf71d..487533317ef 100644 --- a/libs/libm/libm/arm/armv8-m/arch_roundf.c +++ b/libs/libm/libm/arm/armv8-m/arch_roundf.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_roundf.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_trunc.c b/libs/libm/libm/arm/armv8-m/arch_trunc.c index e3b8d0fd536..da3bb544ef1 100644 --- a/libs/libm/libm/arm/armv8-m/arch_trunc.c +++ b/libs/libm/libm/arm/armv8-m/arch_trunc.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_trunc.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/arm/armv8-m/arch_truncf.c b/libs/libm/libm/arm/armv8-m/arch_truncf.c index 46b976ee8f4..f869c31d102 100644 --- a/libs/libm/libm/arm/armv8-m/arch_truncf.c +++ b/libs/libm/libm/arm/armv8-m/arch_truncf.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/arm/armv8-m/arch_truncf.c * - * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/lib_acos.c b/libs/libm/libm/lib_acos.c index 3d39198b112..8e312b9d4d8 100644 --- a/libs/libm/libm/lib_acos.c +++ b/libs/libm/libm/lib_acos.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_acos.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_acosf.c b/libs/libm/libm/lib_acosf.c index 48de567ba5b..4d3dc30ecd1 100644 --- a/libs/libm/libm/lib_acosf.c +++ b/libs/libm/libm/lib_acosf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_acosf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_acosh.c b/libs/libm/libm/lib_acosh.c index 7f2bb9f9520..cc4bddf015f 100644 --- a/libs/libm/libm/lib_acosh.c +++ b/libs/libm/libm/lib_acosh.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_acosh.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_acoshf.c b/libs/libm/libm/lib_acoshf.c index cf4089b8c3e..2e6da7840e6 100644 --- a/libs/libm/libm/lib_acoshf.c +++ b/libs/libm/libm/lib_acoshf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_acoshf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_acoshl.c b/libs/libm/libm/lib_acoshl.c index e40b22c49dd..46f086d76fe 100644 --- a/libs/libm/libm/lib_acoshl.c +++ b/libs/libm/libm/lib_acoshl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_acoshl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_acosl.c b/libs/libm/libm/lib_acosl.c index f0a273cd294..fc7ad4bd1fc 100644 --- a/libs/libm/libm/lib_acosl.c +++ b/libs/libm/libm/lib_acosl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_acosl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_asin.c b/libs/libm/libm/lib_asin.c index 668ec8af0e7..9539a41e9ce 100644 --- a/libs/libm/libm/lib_asin.c +++ b/libs/libm/libm/lib_asin.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_asin.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012, 2015-2016 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2015-2016 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_asinf.c b/libs/libm/libm/lib_asinf.c index a529db23fbe..4cc1ed646ef 100644 --- a/libs/libm/libm/lib_asinf.c +++ b/libs/libm/libm/lib_asinf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_asinf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012, 2016 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_asinh.c b/libs/libm/libm/lib_asinh.c index ccdeb85a3cc..a319893c1cd 100644 --- a/libs/libm/libm/lib_asinh.c +++ b/libs/libm/libm/lib_asinh.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_asinh.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_asinhf.c b/libs/libm/libm/lib_asinhf.c index 0ee95aa3e0e..9c972100f19 100644 --- a/libs/libm/libm/lib_asinhf.c +++ b/libs/libm/libm/lib_asinhf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_asinhf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_asinhl.c b/libs/libm/libm/lib_asinhl.c index abfd5c0303a..d4f3a444a49 100644 --- a/libs/libm/libm/lib_asinhl.c +++ b/libs/libm/libm/lib_asinhl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_asinhl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_asinl.c b/libs/libm/libm/lib_asinl.c index bf91fdec5b0..14dbe50feee 100644 --- a/libs/libm/libm/lib_asinl.c +++ b/libs/libm/libm/lib_asinl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_asinl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012, 2016 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_atan.c b/libs/libm/libm/lib_atan.c index 2c02c0f84e5..1265a3952bd 100644 --- a/libs/libm/libm/lib_atan.c +++ b/libs/libm/libm/lib_atan.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_atan.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_atan2.c b/libs/libm/libm/lib_atan2.c index 93efbfe51a5..0596bb6cb7f 100644 --- a/libs/libm/libm/lib_atan2.c +++ b/libs/libm/libm/lib_atan2.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_atan2.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_atan2f.c b/libs/libm/libm/lib_atan2f.c index b8d46f8c2ce..49567644c1d 100644 --- a/libs/libm/libm/lib_atan2f.c +++ b/libs/libm/libm/lib_atan2f.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_atan2f.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_atan2l.c b/libs/libm/libm/lib_atan2l.c index 17a9bff2673..b8778df4b8f 100644 --- a/libs/libm/libm/lib_atan2l.c +++ b/libs/libm/libm/lib_atan2l.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_atan2l.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_atanf.c b/libs/libm/libm/lib_atanf.c index 505063e06b0..08547152c46 100644 --- a/libs/libm/libm/lib_atanf.c +++ b/libs/libm/libm/lib_atanf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_atanf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_atanh.c b/libs/libm/libm/lib_atanh.c index 47959da6c56..ef4cddfa31e 100644 --- a/libs/libm/libm/lib_atanh.c +++ b/libs/libm/libm/lib_atanh.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_atanh.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_atanhf.c b/libs/libm/libm/lib_atanhf.c index b440bf6096b..c0214595359 100644 --- a/libs/libm/libm/lib_atanhf.c +++ b/libs/libm/libm/lib_atanhf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_atanhf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_atanhl.c b/libs/libm/libm/lib_atanhl.c index 2b2addb1036..8e456d34a82 100644 --- a/libs/libm/libm/lib_atanhl.c +++ b/libs/libm/libm/lib_atanhl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_atanhl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_atanl.c b/libs/libm/libm/lib_atanl.c index 73932e5bc67..1067d6e2290 100644 --- a/libs/libm/libm/lib_atanl.c +++ b/libs/libm/libm/lib_atanl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_atanl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_cbrt.c b/libs/libm/libm/lib_cbrt.c index 6fc820a6855..264aec9ee42 100644 --- a/libs/libm/libm/lib_cbrt.c +++ b/libs/libm/libm/lib_cbrt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_cbrt.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The @@ -52,4 +54,4 @@ double cbrt(double x) } } -#endif \ No newline at end of file +#endif diff --git a/libs/libm/libm/lib_ceil.c b/libs/libm/libm/lib_ceil.c index c719ce28afb..2fdd5e1b4c6 100644 --- a/libs/libm/libm/lib_ceil.c +++ b/libs/libm/libm/lib_ceil.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_ceil.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_ceilf.c b/libs/libm/libm/lib_ceilf.c index 7acfc278bc9..89db8575d29 100644 --- a/libs/libm/libm/lib_ceilf.c +++ b/libs/libm/libm/lib_ceilf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_ceilf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_ceill.c b/libs/libm/libm/lib_ceill.c index 77e24387af6..5f4f5fac59d 100644 --- a/libs/libm/libm/lib_ceill.c +++ b/libs/libm/libm/lib_ceill.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_ceill.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_copysign.c b/libs/libm/libm/lib_copysign.c index 171b476aaad..3fd09430a46 100644 --- a/libs/libm/libm/lib_copysign.c +++ b/libs/libm/libm/lib_copysign.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_copysign.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_copysignf.c b/libs/libm/libm/lib_copysignf.c index b28aab55eb3..2b521da0f8e 100644 --- a/libs/libm/libm/lib_copysignf.c +++ b/libs/libm/libm/lib_copysignf.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_copysignf.c * - * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (C) 1993 by Sun Microsystems, Inc. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this diff --git a/libs/libm/libm/lib_copysignl.c b/libs/libm/libm/lib_copysignl.c index 824403904de..4b411f2b21c 100644 --- a/libs/libm/libm/lib_copysignl.c +++ b/libs/libm/libm/lib_copysignl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_copysignl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_cos.c b/libs/libm/libm/lib_cos.c index 8f5ab0addb3..b7a1f366583 100644 --- a/libs/libm/libm/lib_cos.c +++ b/libs/libm/libm/lib_cos.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_cos.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_cosf.c b/libs/libm/libm/lib_cosf.c index b53be8befd2..a7b19ff6fa1 100644 --- a/libs/libm/libm/lib_cosf.c +++ b/libs/libm/libm/lib_cosf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_cosf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_cosh.c b/libs/libm/libm/lib_cosh.c index cd23cea4eba..324c955476d 100644 --- a/libs/libm/libm/lib_cosh.c +++ b/libs/libm/libm/lib_cosh.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_cosh.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_coshf.c b/libs/libm/libm/lib_coshf.c index bbc128323b4..4d5868794d9 100644 --- a/libs/libm/libm/lib_coshf.c +++ b/libs/libm/libm/lib_coshf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_coshf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_coshl.c b/libs/libm/libm/lib_coshl.c index 73a597de136..df8aa692f0f 100644 --- a/libs/libm/libm/lib_coshl.c +++ b/libs/libm/libm/lib_coshl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_coshl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_cosl.c b/libs/libm/libm/lib_cosl.c index 33249fb0117..f21a43c44fb 100644 --- a/libs/libm/libm/lib_cosl.c +++ b/libs/libm/libm/lib_cosl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_cosl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_erf.c b/libs/libm/libm/lib_erf.c index 83609c02beb..0cce45cda53 100644 --- a/libs/libm/libm/lib_erf.c +++ b/libs/libm/libm/lib_erf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_erf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_erfc.c b/libs/libm/libm/lib_erfc.c index 337da5a0f0c..1eaa691c9c5 100644 --- a/libs/libm/libm/lib_erfc.c +++ b/libs/libm/libm/lib_erfc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_erfc.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_erfcf.c b/libs/libm/libm/lib_erfcf.c index 3a9d2041bff..f76233cee03 100644 --- a/libs/libm/libm/lib_erfcf.c +++ b/libs/libm/libm/lib_erfcf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_erfcf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_erfcl.c b/libs/libm/libm/lib_erfcl.c index c096d583c96..9911c001ef0 100644 --- a/libs/libm/libm/lib_erfcl.c +++ b/libs/libm/libm/lib_erfcl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_erfcl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_erff.c b/libs/libm/libm/lib_erff.c index d0eeb851c64..4e747fd530d 100644 --- a/libs/libm/libm/lib_erff.c +++ b/libs/libm/libm/lib_erff.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_erff.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_erfl.c b/libs/libm/libm/lib_erfl.c index 856b094a785..61bfe809942 100644 --- a/libs/libm/libm/lib_erfl.c +++ b/libs/libm/libm/lib_erfl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_erfl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_exp.c b/libs/libm/libm/lib_exp.c index 6cee39feed5..d5c6d3eee01 100644 --- a/libs/libm/libm/lib_exp.c +++ b/libs/libm/libm/lib_exp.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_exp.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_expf.c b/libs/libm/libm/lib_expf.c index 8222c397c3a..fbc2d4ffec9 100644 --- a/libs/libm/libm/lib_expf.c +++ b/libs/libm/libm/lib_expf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_expf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_expl.c b/libs/libm/libm/lib_expl.c index 0e244876dbe..6b3268a2e6e 100644 --- a/libs/libm/libm/lib_expl.c +++ b/libs/libm/libm/lib_expl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_expl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_expm1.c b/libs/libm/libm/lib_expm1.c index 502cd52f330..75689283f3f 100644 --- a/libs/libm/libm/lib_expm1.c +++ b/libs/libm/libm/lib_expm1.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_expm1.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_expm1f.c b/libs/libm/libm/lib_expm1f.c index 80b667538c1..3f6c20c5968 100644 --- a/libs/libm/libm/lib_expm1f.c +++ b/libs/libm/libm/lib_expm1f.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_expm1f.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_expm1l.c b/libs/libm/libm/lib_expm1l.c index 43f6a93e4c3..163e1659d25 100644 --- a/libs/libm/libm/lib_expm1l.c +++ b/libs/libm/libm/lib_expm1l.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_expm1l.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_fabs.c b/libs/libm/libm/lib_fabs.c index 07fd854f44a..02b19810214 100644 --- a/libs/libm/libm/lib_fabs.c +++ b/libs/libm/libm/lib_fabs.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_fabs.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_fabsf.c b/libs/libm/libm/lib_fabsf.c index 36557fc7eb7..5182213cce8 100644 --- a/libs/libm/libm/lib_fabsf.c +++ b/libs/libm/libm/lib_fabsf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_fabsf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_fabsl.c b/libs/libm/libm/lib_fabsl.c index 6b815249277..e7ab05607be 100644 --- a/libs/libm/libm/lib_fabsl.c +++ b/libs/libm/libm/lib_fabsl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_fabsl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_floor.c b/libs/libm/libm/lib_floor.c index 5d85486358f..14ef9a1a73b 100644 --- a/libs/libm/libm/lib_floor.c +++ b/libs/libm/libm/lib_floor.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_floor.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_floorf.c b/libs/libm/libm/lib_floorf.c index ea289d80fb4..ad105bb7dd3 100644 --- a/libs/libm/libm/lib_floorf.c +++ b/libs/libm/libm/lib_floorf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_floorf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_floorl.c b/libs/libm/libm/lib_floorl.c index d6ac747b66f..f31bd917bc5 100644 --- a/libs/libm/libm/lib_floorl.c +++ b/libs/libm/libm/lib_floorl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_floorl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_fmax.c b/libs/libm/libm/lib_fmax.c index a67750c1e8c..766be8a1673 100644 --- a/libs/libm/libm/lib_fmax.c +++ b/libs/libm/libm/lib_fmax.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_fmax.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_fmaxf.c b/libs/libm/libm/lib_fmaxf.c index 6aeb757ad6a..5891d2333bf 100644 --- a/libs/libm/libm/lib_fmaxf.c +++ b/libs/libm/libm/lib_fmaxf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_fmaxf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_fmaxl.c b/libs/libm/libm/lib_fmaxl.c index 76353fd1cd0..6c32c7cd444 100644 --- a/libs/libm/libm/lib_fmaxl.c +++ b/libs/libm/libm/lib_fmaxl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_fmaxl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_fmin.c b/libs/libm/libm/lib_fmin.c index 98a10574d9e..be49b55cafe 100644 --- a/libs/libm/libm/lib_fmin.c +++ b/libs/libm/libm/lib_fmin.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_fmin.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_fminf.c b/libs/libm/libm/lib_fminf.c index 16607663737..56d9e3dd18f 100644 --- a/libs/libm/libm/lib_fminf.c +++ b/libs/libm/libm/lib_fminf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_fminf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_fminl.c b/libs/libm/libm/lib_fminl.c index 5e3adbd7c12..74b94d00d28 100644 --- a/libs/libm/libm/lib_fminl.c +++ b/libs/libm/libm/lib_fminl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_fminl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_fmod.c b/libs/libm/libm/lib_fmod.c index bf1b0b41a4d..fb5d75e4e46 100644 --- a/libs/libm/libm/lib_fmod.c +++ b/libs/libm/libm/lib_fmod.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_fmod.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_fmodf.c b/libs/libm/libm/lib_fmodf.c index 109d5e53746..a08aa07624d 100644 --- a/libs/libm/libm/lib_fmodf.c +++ b/libs/libm/libm/lib_fmodf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_fmodf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_fmodl.c b/libs/libm/libm/lib_fmodl.c index bce3f16f39c..d1f70ab6461 100644 --- a/libs/libm/libm/lib_fmodl.c +++ b/libs/libm/libm/lib_fmodl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_fmodl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_frexp.c b/libs/libm/libm/lib_frexp.c index adc864bc5fe..f511d8c767a 100644 --- a/libs/libm/libm/lib_frexp.c +++ b/libs/libm/libm/lib_frexp.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_frexp.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_frexpf.c b/libs/libm/libm/lib_frexpf.c index fbd8f9bf19c..5a6d614faf8 100644 --- a/libs/libm/libm/lib_frexpf.c +++ b/libs/libm/libm/lib_frexpf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_frexpf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_frexpl.c b/libs/libm/libm/lib_frexpl.c index 305f54c261c..fcce93b57ea 100644 --- a/libs/libm/libm/lib_frexpl.c +++ b/libs/libm/libm/lib_frexpl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_frexpl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_gamma.c b/libs/libm/libm/lib_gamma.c index b943ac8ff73..56d76edf2bf 100644 --- a/libs/libm/libm/lib_gamma.c +++ b/libs/libm/libm/lib_gamma.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_gamma.c * - * Ported to NuttX from FreeBSD by Alan Carvalho de Assis: + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileContributor: Ported by: Alan Carvalho de Assis * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libm/libm/lib_ldexp.c b/libs/libm/libm/lib_ldexp.c index a062dc740de..11227f1fdaa 100644 --- a/libs/libm/libm/lib_ldexp.c +++ b/libs/libm/libm/lib_ldexp.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_ldexp.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright 2012 Gregory Nutt + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_ldexpf.c b/libs/libm/libm/lib_ldexpf.c index 007ef06ddb4..1dcede1ac31 100644 --- a/libs/libm/libm/lib_ldexpf.c +++ b/libs/libm/libm/lib_ldexpf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_ldexpf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_ldexpl.c b/libs/libm/libm/lib_ldexpl.c index 860aae2911b..a3fe4c5f577 100644 --- a/libs/libm/libm/lib_ldexpl.c +++ b/libs/libm/libm/lib_ldexpl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_ldexpl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_lgamma.c b/libs/libm/libm/lib_lgamma.c index 80a431452c1..4824f15237a 100644 --- a/libs/libm/libm/lib_lgamma.c +++ b/libs/libm/libm/lib_lgamma.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_lgamma.c * - * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (C) 1993 by Sun Microsystems, Inc. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this diff --git a/libs/libm/libm/lib_libexpi.c b/libs/libm/libm/lib_libexpi.c index 8a26924bac9..56f8d987a7c 100644 --- a/libs/libm/libm/lib_libexpi.c +++ b/libs/libm/libm/lib_libexpi.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_libexpi.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_libexpif.c b/libs/libm/libm/lib_libexpif.c index 9ef969fc221..a300170d607 100644 --- a/libs/libm/libm/lib_libexpif.c +++ b/libs/libm/libm/lib_libexpif.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_libexpif.c * - * This file is a part of NuttX: - * - * Copyright (C) 2016 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong/Gregory Nutt + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_libsqrtapprox.c b/libs/libm/libm/lib_libsqrtapprox.c index 0930d31ef7f..1ca7ae047c1 100644 --- a/libs/libm/libm/lib_libsqrtapprox.c +++ b/libs/libm/libm/lib_libsqrtapprox.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_libsqrtapprox.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_llround.c b/libs/libm/libm/lib_llround.c index 6662e87ff21..c9d93ee5e1c 100644 --- a/libs/libm/libm/lib_llround.c +++ b/libs/libm/libm/lib_llround.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_llround.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_llroundf.c b/libs/libm/libm/lib_llroundf.c index 19fa81203f1..3b9a2ccdfbe 100644 --- a/libs/libm/libm/lib_llroundf.c +++ b/libs/libm/libm/lib_llroundf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_llroundf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_llroundl.c b/libs/libm/libm/lib_llroundl.c index 18d321df902..6372a3ee81d 100644 --- a/libs/libm/libm/lib_llroundl.c +++ b/libs/libm/libm/lib_llroundl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_llroundl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_log.c b/libs/libm/libm/lib_log.c index e23bcff9732..24a7cb2f810 100644 --- a/libs/libm/libm/lib_log.c +++ b/libs/libm/libm/lib_log.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_log.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012, 2018 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_log10.c b/libs/libm/libm/lib_log10.c index 0110fbf16ed..9279525ddce 100644 --- a/libs/libm/libm/lib_log10.c +++ b/libs/libm/libm/lib_log10.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_log10.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_log10f.c b/libs/libm/libm/lib_log10f.c index 1ee8ab70486..c799e3840bb 100644 --- a/libs/libm/libm/lib_log10f.c +++ b/libs/libm/libm/lib_log10f.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_log10f.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_log10l.c b/libs/libm/libm/lib_log10l.c index 45312b55be8..6566f9884ba 100644 --- a/libs/libm/libm/lib_log10l.c +++ b/libs/libm/libm/lib_log10l.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_log10l.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_log2.c b/libs/libm/libm/lib_log2.c index 291ad599526..fd483268fbd 100644 --- a/libs/libm/libm/lib_log2.c +++ b/libs/libm/libm/lib_log2.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_log2.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_log2f.c b/libs/libm/libm/lib_log2f.c index 5d2acab3b0d..bd14bbdd323 100644 --- a/libs/libm/libm/lib_log2f.c +++ b/libs/libm/libm/lib_log2f.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_log2f.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_log2l.c b/libs/libm/libm/lib_log2l.c index e4056fd0957..a5ede46e9b8 100644 --- a/libs/libm/libm/lib_log2l.c +++ b/libs/libm/libm/lib_log2l.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_log2l.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_logf.c b/libs/libm/libm/lib_logf.c index cef8a1e50ea..20a2f496646 100644 --- a/libs/libm/libm/lib_logf.c +++ b/libs/libm/libm/lib_logf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_logf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012, 2017-2018 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_logl.c b/libs/libm/libm/lib_logl.c index 3b93b952514..c41124f74f6 100644 --- a/libs/libm/libm/lib_logl.c +++ b/libs/libm/libm/lib_logl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_logl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012, 2017 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_lround.c b/libs/libm/libm/lib_lround.c index eca9877fe7e..82a62d890cf 100644 --- a/libs/libm/libm/lib_lround.c +++ b/libs/libm/libm/lib_lround.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_lround.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_lroundf.c b/libs/libm/libm/lib_lroundf.c index bc11c417047..53d064d7a52 100644 --- a/libs/libm/libm/lib_lroundf.c +++ b/libs/libm/libm/lib_lroundf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_lroundf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_lroundl.c b/libs/libm/libm/lib_lroundl.c index 58df7edb307..d83f75bddd6 100644 --- a/libs/libm/libm/lib_lroundl.c +++ b/libs/libm/libm/lib_lroundl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_lroundl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_modf.c b/libs/libm/libm/lib_modf.c index f482559b4ce..76088ba4741 100644 --- a/libs/libm/libm/lib_modf.c +++ b/libs/libm/libm/lib_modf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_modf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_modff.c b/libs/libm/libm/lib_modff.c index 650a9405a45..d7ce65451af 100644 --- a/libs/libm/libm/lib_modff.c +++ b/libs/libm/libm/lib_modff.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_modff.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_modfl.c b/libs/libm/libm/lib_modfl.c index 003cdadcfe0..538a91adfc7 100644 --- a/libs/libm/libm/lib_modfl.c +++ b/libs/libm/libm/lib_modfl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_modfl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_nan.c b/libs/libm/libm/lib_nan.c index 6d08537e236..21edba46ccd 100644 --- a/libs/libm/libm/lib_nan.c +++ b/libs/libm/libm/lib_nan.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_nan.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_nanf.c b/libs/libm/libm/lib_nanf.c index 6f2494bb93e..b4171fbee6e 100644 --- a/libs/libm/libm/lib_nanf.c +++ b/libs/libm/libm/lib_nanf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_nanf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_nanl.c b/libs/libm/libm/lib_nanl.c index 6070c5eb991..72f651370e0 100644 --- a/libs/libm/libm/lib_nanl.c +++ b/libs/libm/libm/lib_nanl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_nanl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_pow.c b/libs/libm/libm/lib_pow.c index a395a4036ce..35816e3e7a4 100644 --- a/libs/libm/libm/lib_pow.c +++ b/libs/libm/libm/lib_pow.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_pow.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_powf.c b/libs/libm/libm/lib_powf.c index e63ab640a53..9236197e1d9 100644 --- a/libs/libm/libm/lib_powf.c +++ b/libs/libm/libm/lib_powf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_powf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_powl.c b/libs/libm/libm/lib_powl.c index a71de03d02e..57261c7e189 100644 --- a/libs/libm/libm/lib_powl.c +++ b/libs/libm/libm/lib_powl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_powl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_rint.c b/libs/libm/libm/lib_rint.c index 62a9d47f26a..ffe7dd9e9ff 100644 --- a/libs/libm/libm/lib_rint.c +++ b/libs/libm/libm/lib_rint.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_rint.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_rintf.c b/libs/libm/libm/lib_rintf.c index d87c334d6ce..8f40cbdfe57 100644 --- a/libs/libm/libm/lib_rintf.c +++ b/libs/libm/libm/lib_rintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_rintf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_rintl.c b/libs/libm/libm/lib_rintl.c index 84fecd4b968..5cac031e80b 100644 --- a/libs/libm/libm/lib_rintl.c +++ b/libs/libm/libm/lib_rintl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_rintl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_round.c b/libs/libm/libm/lib_round.c index 41af967582b..af52d739886 100644 --- a/libs/libm/libm/lib_round.c +++ b/libs/libm/libm/lib_round.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_round.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_roundf.c b/libs/libm/libm/lib_roundf.c index 8d33e1c7f59..4a9dd1f06b4 100644 --- a/libs/libm/libm/lib_roundf.c +++ b/libs/libm/libm/lib_roundf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_roundf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_roundl.c b/libs/libm/libm/lib_roundl.c index cbf25ed0419..6fa575f5e64 100644 --- a/libs/libm/libm/lib_roundl.c +++ b/libs/libm/libm/lib_roundl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_roundl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_sin.c b/libs/libm/libm/lib_sin.c index ae275b4fe18..20b34ce58e0 100644 --- a/libs/libm/libm/lib_sin.c +++ b/libs/libm/libm/lib_sin.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_sin.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_sincos.c b/libs/libm/libm/lib_sincos.c index b9335b261b9..0f2f5152756 100644 --- a/libs/libm/libm/lib_sincos.c +++ b/libs/libm/libm/lib_sincos.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_sincos.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_sincosf.c b/libs/libm/libm/lib_sincosf.c index 6396905afe4..90dad8651fa 100644 --- a/libs/libm/libm/lib_sincosf.c +++ b/libs/libm/libm/lib_sincosf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_sincosf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_sincosl.c b/libs/libm/libm/lib_sincosl.c index ced5053a323..caae97d9a3c 100644 --- a/libs/libm/libm/lib_sincosl.c +++ b/libs/libm/libm/lib_sincosl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_sincosl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libm/lib_sinf.c b/libs/libm/libm/lib_sinf.c index 77ff68ad8ad..3a82e639f84 100644 --- a/libs/libm/libm/lib_sinf.c +++ b/libs/libm/libm/lib_sinf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_sinf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_sinh.c b/libs/libm/libm/lib_sinh.c index b9cb88c42a5..47f04e84c34 100644 --- a/libs/libm/libm/lib_sinh.c +++ b/libs/libm/libm/lib_sinh.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_sinh.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_sinhf.c b/libs/libm/libm/lib_sinhf.c index 44bda15bf82..cbc36dbd7e3 100644 --- a/libs/libm/libm/lib_sinhf.c +++ b/libs/libm/libm/lib_sinhf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_sinhf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_sinhl.c b/libs/libm/libm/lib_sinhl.c index df34cb25efa..aa28f3c2277 100644 --- a/libs/libm/libm/lib_sinhl.c +++ b/libs/libm/libm/lib_sinhl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_sinhl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_sinl.c b/libs/libm/libm/lib_sinl.c index 0adb0fb4be1..984e9041adf 100644 --- a/libs/libm/libm/lib_sinl.c +++ b/libs/libm/libm/lib_sinl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_sinl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_sqrt.c b/libs/libm/libm/lib_sqrt.c index 18b62f1d70f..6dd81794446 100644 --- a/libs/libm/libm/lib_sqrt.c +++ b/libs/libm/libm/lib_sqrt.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_sqrt.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_sqrtf.c b/libs/libm/libm/lib_sqrtf.c index 5a1802d14b3..3d0c8021061 100644 --- a/libs/libm/libm/lib_sqrtf.c +++ b/libs/libm/libm/lib_sqrtf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_sqrtf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_sqrtl.c b/libs/libm/libm/lib_sqrtl.c index d095aa18299..862706c7180 100644 --- a/libs/libm/libm/lib_sqrtl.c +++ b/libs/libm/libm/lib_sqrtl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_sqrtl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_tan.c b/libs/libm/libm/lib_tan.c index 9d603419ab0..ae17158a084 100644 --- a/libs/libm/libm/lib_tan.c +++ b/libs/libm/libm/lib_tan.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_tan.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_tanf.c b/libs/libm/libm/lib_tanf.c index 656659623f2..768c906db8a 100644 --- a/libs/libm/libm/lib_tanf.c +++ b/libs/libm/libm/lib_tanf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_tanf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_tanh.c b/libs/libm/libm/lib_tanh.c index c5743d908c2..8bd393ce4bd 100644 --- a/libs/libm/libm/lib_tanh.c +++ b/libs/libm/libm/lib_tanh.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_tanh.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_tanhf.c b/libs/libm/libm/lib_tanhf.c index b76696a9bd4..2c8585055cd 100644 --- a/libs/libm/libm/lib_tanhf.c +++ b/libs/libm/libm/lib_tanhf.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_tanhf.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_tanhl.c b/libs/libm/libm/lib_tanhl.c index b0ecfc9180b..4e220e45a75 100644 --- a/libs/libm/libm/lib_tanhl.c +++ b/libs/libm/libm/lib_tanhl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_tanhl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_tanl.c b/libs/libm/libm/lib_tanl.c index 1d12658e23f..60b5f4c32cd 100644 --- a/libs/libm/libm/lib_tanl.c +++ b/libs/libm/libm/lib_tanl.c @@ -1,10 +1,9 @@ /**************************************************************************** * libs/libm/libm/lib_tanl.c * - * This file is a part of NuttX: - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Ported by: Darcy Gong + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt. + * SPDX-FileContributor: Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has * a compatible, MIT-style license: diff --git a/libs/libm/libm/lib_trunc.c b/libs/libm/libm/lib_trunc.c index b776b432150..c65759f508b 100644 --- a/libs/libm/libm/lib_trunc.c +++ b/libs/libm/libm/lib_trunc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_trunc.c * + * SPDX-License-Identifier: MIT + * * This implementation is derived from the musl library under the MIT License * * Copyright © 2005-2014 Rich Felker, et al. diff --git a/libs/libm/libm/lib_truncf.c b/libs/libm/libm/lib_truncf.c index b05a0de6c5c..e95a65bd25e 100644 --- a/libs/libm/libm/lib_truncf.c +++ b/libs/libm/libm/lib_truncf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_truncf.c * + * SPDX-License-Identifier: MIT + * * This implementation is derived from the musl library under the MIT License * * Copyright © 2005-2014 Rich Felker, et al. diff --git a/libs/libm/libm/lib_truncl.c b/libs/libm/libm/lib_truncl.c index 46874fb22df..8dc245e3eea 100644 --- a/libs/libm/libm/lib_truncl.c +++ b/libs/libm/libm/lib_truncl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/lib_truncl.c * + * SPDX-License-Identifier: MIT + * * This implementation is derived from the musl library under the MIT License * * Copyright © 2005-2014 Rich Felker, et al. diff --git a/libs/libm/libm/libm.h b/libs/libm/libm/libm.h index 52b687be2a7..7418038e6e9 100644 --- a/libs/libm/libm/libm.h +++ b/libs/libm/libm/libm.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/libm/libm.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/libmcs/Make.defs b/libs/libm/libmcs/Make.defs index d39129de473..82be8970596 100644 --- a/libs/libm/libmcs/Make.defs +++ b/libs/libm/libmcs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/libmcs/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/libs/libm/newlib/CMakeLists.txt b/libs/libm/newlib/CMakeLists.txt index bff82800d38..2ca2571942c 100644 --- a/libs/libm/newlib/CMakeLists.txt +++ b/libs/libm/newlib/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libm/newlib/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/libs/libm/newlib/Make.defs b/libs/libm/newlib/Make.defs index 4ed0f4d0c69..77e56a8e0e2 100644 --- a/libs/libm/newlib/Make.defs +++ b/libs/libm/newlib/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/newlib/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/libs/libm/newlib/include/complex.h b/libs/libm/newlib/include/complex.h index 5b6c398e94d..c97c43b9c36 100644 --- a/libs/libm/newlib/include/complex.h +++ b/libs/libm/newlib/include/complex.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/newlib/include/complex.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/newlib/include/ieeefp.h b/libs/libm/newlib/include/ieeefp.h index 5a11d06f7d3..47a78766e15 100644 --- a/libs/libm/newlib/include/ieeefp.h +++ b/libs/libm/newlib/include/ieeefp.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/newlib/include/ieeefp.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/newlib/include/machine/ieeefp.h b/libs/libm/newlib/include/machine/ieeefp.h index 9739b97f5fb..9597cc98a3e 100644 --- a/libs/libm/newlib/include/machine/ieeefp.h +++ b/libs/libm/newlib/include/machine/ieeefp.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/newlib/include/machine/ieeefp.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/newlib/include/math.h b/libs/libm/newlib/include/math.h index 1fcc8c497c5..bd8ba63aa5d 100644 --- a/libs/libm/newlib/include/math.h +++ b/libs/libm/newlib/include/math.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/newlib/include/math.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/newlib/include/tgmath.h b/libs/libm/newlib/include/tgmath.h index 80ffdc66494..939c8af104d 100644 --- a/libs/libm/newlib/include/tgmath.h +++ b/libs/libm/newlib/include/tgmath.h @@ -1,7 +1,6 @@ -/* http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/tgmath.h.html */ - -/* Copyright (c) 2004 Stefan Farfeleder. - * All rights reserved. +/**************************************************************************** + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: Copyright (c) 2004 Stefan Farfeleder. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -25,7 +24,9 @@ * SUCH DAMAGE. * * $FreeBSD$ - */ + ****************************************************************************/ + +/* http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/tgmath.h.html */ #ifndef _TGMATH_H_ #define _TGMATH_H_ diff --git a/libs/libm/newlib/sincosl.c b/libs/libm/newlib/sincosl.c index 4c2007a5f1e..4b4d763de57 100644 --- a/libs/libm/newlib/sincosl.c +++ b/libs/libm/newlib/sincosl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libm/newlib/sincosl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/libs/libm/openlibm/Make.defs b/libs/libm/openlibm/Make.defs index b241ad300ac..9c9bf010bd9 100644 --- a/libs/libm/openlibm/Make.defs +++ b/libs/libm/openlibm/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libm/openlibm/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The