From bd4325470215f6bd3a357b1e8d8801612251c7ef Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 21 Nov 2025 07:57:01 +0100 Subject: [PATCH] core: use SPDX copyright tags Co-authored-by: crasbe --- core/cond.c | 9 +++---- core/include/cond.h | 4 +--- core/include/mbox.h | 7 ++---- core/include/msg.h | 7 ++---- core/include/msg_bus.h | 7 ++---- core/include/mutex.h | 9 +++---- core/include/native_sched.h | 7 ++---- core/include/sched.h | 7 ++---- core/include/stdio.h | 7 ++---- core/include/thread.h | 7 ++---- core/include/thread_flags.h | 7 ++---- core/include/thread_flags_group.h | 7 ++---- core/lib/assert.c | 7 ++---- core/lib/atomic_c11.c | 7 ++---- core/lib/atomic_sync.c | 7 ++---- core/lib/bitarithm.c | 7 ++---- core/lib/clist.c | 40 +++++-------------------------- core/lib/include/assert.h | 9 +++---- core/lib/include/bitarithm.h | 9 +++---- core/lib/include/cib.h | 9 +++---- core/lib/include/clist.h | 11 ++++----- core/lib/include/compiler_hints.h | 9 +++---- core/lib/include/container.h | 9 +++---- core/lib/include/debug.h | 7 ++---- core/lib/include/irq.h | 8 +++---- core/lib/include/kernel_defines.h | 9 +++---- core/lib/include/kernel_init.h | 9 +++---- core/lib/include/list.h | 9 +++---- core/lib/include/log.h | 7 ++---- core/lib/include/macros/math.h | 7 ++---- core/lib/include/macros/units.h | 7 ++---- core/lib/include/macros/utils.h | 7 ++---- core/lib/include/macros/xtstr.h | 7 ++---- core/lib/include/modules.h | 9 +++---- core/lib/include/panic.h | 7 ++---- core/lib/include/priority_queue.h | 7 ++---- core/lib/include/ringbuffer.h | 9 +++---- core/lib/include/riot_version.h | 9 +++---- core/lib/include/rmutex.h | 7 ++---- core/lib/include/thread_config.h | 11 ++++----- core/lib/include/xfa.h | 7 ++---- core/lib/init.c | 9 +++---- core/lib/panic.c | 11 ++++----- core/lib/priority_queue.c | 7 ++---- core/lib/ringbuffer.c | 15 +++++------- core/lib/rmutex.c | 7 ++---- core/mbox.c | 7 ++---- core/msg.c | 7 ++---- core/msg_bus.c | 7 ++---- core/mutex.c | 9 +++---- core/sched.c | 7 ++---- core/thread.c | 7 ++---- core/thread_flags.c | 7 ++---- core/thread_flags_group.c | 7 ++---- 54 files changed, 137 insertions(+), 322 deletions(-) diff --git a/core/cond.c b/core/cond.c index 8ff45f4d74..d515df5923 100644 --- a/core/cond.c +++ b/core/cond.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2016 Sam Kumar - * 2016 University of California, Berkeley - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Sam Kumar + * SPDX-FileCopyrightText: 2016 University of California, Berkeley + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/include/cond.h b/core/include/cond.h index ee1237d9fa..1e764a5804 100644 --- a/core/include/cond.h +++ b/core/include/cond.h @@ -1,7 +1,5 @@ /* - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/mbox.h b/core/include/mbox.h index aa12657998..b0f929f1de 100644 --- a/core/include/mbox.h +++ b/core/include/mbox.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/msg.h b/core/include/msg.h index ffb34b83e7..7c9c1e53f3 100644 --- a/core/include/msg.h +++ b/core/include/msg.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/msg_bus.h b/core/include/msg_bus.h index f2ed3b3a0a..b125ba25a2 100644 --- a/core/include/msg_bus.h +++ b/core/include/msg_bus.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2020 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/mutex.h b/core/include/mutex.h index 6f94e9dbc9..9de62bedc9 100644 --- a/core/include/mutex.h +++ b/core/include/mutex.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2015 Kaspar Schleiser - * 2013, 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-FileCopyrightText: 2013-2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/native_sched.h b/core/include/native_sched.h index 6757d66e59..a03cba35ed 100644 --- a/core/include/native_sched.h +++ b/core/include/native_sched.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 HAW Hamburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2015 HAW Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/sched.h b/core/include/sched.h index 1b4c6bad7e..93456b0f70 100644 --- a/core/include/sched.h +++ b/core/include/sched.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014-2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014-2017 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/stdio.h b/core/include/stdio.h index 3c335610d7..314fafa8a2 100644 --- a/core/include/stdio.h +++ b/core/include/stdio.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2024 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. + * SPDX-FileCopyrightText: 2024 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/thread.h b/core/include/thread.h index b33951ba35..5f347b7e65 100644 --- a/core/include/thread.h +++ b/core/include/thread.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/thread_flags.h b/core/include/thread_flags.h index 93bc0c5504..c462e5c058 100644 --- a/core/include/thread_flags.h +++ b/core/include/thread_flags.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/include/thread_flags_group.h b/core/include/thread_flags_group.h index c2e7697fa5..6430277e19 100644 --- a/core/include/thread_flags_group.h +++ b/core/include/thread_flags_group.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2025 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2025 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/assert.c b/core/lib/assert.c index fd28111e32..31f18c4308 100644 --- a/core/lib/assert.c +++ b/core/lib/assert.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/lib/atomic_c11.c b/core/lib/atomic_c11.c index 1d87239af6..9a1321e633 100644 --- a/core/lib/atomic_c11.c +++ b/core/lib/atomic_c11.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015-2016 Eistec AB - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. + * SPDX-FileCopyrightText: 2015-2016 Eistec AB + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/lib/atomic_sync.c b/core/lib/atomic_sync.c index cee20005a3..c46b00305b 100644 --- a/core/lib/atomic_sync.c +++ b/core/lib/atomic_sync.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015-2016 Eistec AB - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. + * SPDX-FileCopyrightText: 2015-2016 Eistec AB + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/lib/bitarithm.c b/core/lib/bitarithm.c index 26f234383b..224139460f 100644 --- a/core/lib/bitarithm.c +++ b/core/lib/bitarithm.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/lib/clist.c b/core/lib/clist.c index a1b5652ff7..f9ca27c618 100644 --- a/core/lib/clist.c +++ b/core/lib/clist.c @@ -1,38 +1,10 @@ /* - * Copyright (C) 2017 Inria - * 2017 Freie Universität Berlin - * 2017 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - * - * The code of _clist_sort() has been imported from - * https://www.chiark.greenend.org.uk/~sgtatham/algorithms/listsort.html. - * Original copyright notice: - * - * This file is copyright 2001 Simon Tatham. - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL SIMON TATHAM BE LIABLE FOR - * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * SPDX-FileCopyrightText: 2017 Inria + * SPDX-FileCopyrightText: 2017 Freie Universität Berlin + * SPDX-FileCopyrightText: 2017 Kaspar Schleiser + * SPDX-FileCopyrightText: 2001 Simon Tatham + * SPDX-License-Identifier: LGPL-2.1-only + * SPDX-License-Identifier: MIT */ /** diff --git a/core/lib/include/assert.h b/core/lib/include/assert.h index cda77e5999..d0c0f208eb 100644 --- a/core/lib/include/assert.h +++ b/core/lib/include/assert.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2015 INRIA - * Copyright (C) 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2015 INRIA + * SPDX-FileCopyrightText: 2016 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/bitarithm.h b/core/lib/include/bitarithm.h index 29aa78a4a1..aba66c8934 100644 --- a/core/lib/include/bitarithm.h +++ b/core/lib/include/bitarithm.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2017 Kaspar Schleiser - * 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2017 Kaspar Schleiser + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/cib.h b/core/lib/include/cib.h index 6d9ce40f82..e1bf881723 100644 --- a/core/lib/include/cib.h +++ b/core/lib/include/cib.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * 2013 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/clist.h b/core/lib/include/clist.h index eed65b6c97..47e5a674cc 100644 --- a/core/lib/include/clist.h +++ b/core/lib/include/clist.h @@ -1,11 +1,8 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * 2013 Freie Universität Berlin - * 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-FileCopyrightText: 2017 Inria + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/compiler_hints.h b/core/lib/include/compiler_hints.h index 554b6729ba..c32ecae2d5 100644 --- a/core/lib/include/compiler_hints.h +++ b/core/lib/include/compiler_hints.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * 2017 HAW-Hamburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-FileCopyrightText: 2017 HAW-Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/container.h b/core/lib/include/container.h index 1473760d27..4354a96047 100644 --- a/core/lib/include/container.h +++ b/core/lib/include/container.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * 2017 HAW-Hamburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-FileCopyrightText: 2017 HAW-Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/debug.h b/core/lib/include/debug.h index 620de78267..2058d830cb 100644 --- a/core/lib/include/debug.h +++ b/core/lib/include/debug.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/irq.h b/core/lib/include/irq.h index 37990dab3c..8f8edd7cd4 100644 --- a/core/lib/include/irq.h +++ b/core/lib/include/irq.h @@ -1,9 +1,7 @@ /* - * Copyright (C) 2013,2019 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-FileCopyrightText: 2019 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #ifndef IRQ_H diff --git a/core/lib/include/kernel_defines.h b/core/lib/include/kernel_defines.h index 92034baad3..6f51decad2 100644 --- a/core/lib/include/kernel_defines.h +++ b/core/lib/include/kernel_defines.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * 2017 HAW-Hamburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-FileCopyrightText: 2017 HAW-Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/kernel_init.h b/core/lib/include/kernel_init.h index 018141e2e3..7913388c7d 100644 --- a/core/lib/include/kernel_init.h +++ b/core/lib/include/kernel_init.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * 2013 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/list.h b/core/lib/include/list.h index 2bed483b0c..e05ec7a667 100644 --- a/core/lib/include/list.h +++ b/core/lib/include/list.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * 2016 TriaGnoSys GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-FileCopyrightText: 2016 TriaGnoSys GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/log.h b/core/lib/include/log.h index 3485208fd7..40dc7cefbb 100644 --- a/core/lib/include/log.h +++ b/core/lib/include/log.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/macros/math.h b/core/lib/include/macros/math.h index 1eea61c9f9..6e54d7f1a7 100644 --- a/core/lib/include/macros/math.h +++ b/core/lib/include/macros/math.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2022 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2022 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/macros/units.h b/core/lib/include/macros/units.h index ec7c4f999e..2fcd6394ec 100644 --- a/core/lib/include/macros/units.h +++ b/core/lib/include/macros/units.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2020 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/macros/utils.h b/core/lib/include/macros/utils.h index 30ee3bd425..c854a6d2f3 100644 --- a/core/lib/include/macros/utils.h +++ b/core/lib/include/macros/utils.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Otto-von-Guericke-Universität Magdeburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/macros/xtstr.h b/core/lib/include/macros/xtstr.h index 850ebecada..ee55de8977 100644 --- a/core/lib/include/macros/xtstr.h +++ b/core/lib/include/macros/xtstr.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2019 Gunar Schorcht - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2019 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/modules.h b/core/lib/include/modules.h index 7a555b65c4..e8cf687a9c 100644 --- a/core/lib/include/modules.h +++ b/core/lib/include/modules.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * 2017 HAW-Hamburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-FileCopyrightText: 2017 HAW-Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/panic.h b/core/lib/include/panic.h index 07b67d5a46..b43c85224e 100644 --- a/core/lib/include/panic.h +++ b/core/lib/include/panic.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014, 2015 INRIA - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014-2015 INRIA + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/priority_queue.h b/core/lib/include/priority_queue.h index 1ca2660848..60051d4e2c 100644 --- a/core/lib/include/priority_queue.h +++ b/core/lib/include/priority_queue.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013, 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013-2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/ringbuffer.h b/core/lib/include/ringbuffer.h index 88bbee43b3..49df2b7fa8 100644 --- a/core/lib/include/ringbuffer.h +++ b/core/lib/include/ringbuffer.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2013 Freie Universität Berlin - * Copyright (C) 2013 INRIA - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-FileCopyrightText: 2013 INRIA + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/riot_version.h b/core/lib/include/riot_version.h index e69346fb03..df12c67fca 100644 --- a/core/lib/include/riot_version.h +++ b/core/lib/include/riot_version.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * 2017 HAW-Hamburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-FileCopyrightText: 2017 HAW-Hamburg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/rmutex.h b/core/lib/include/rmutex.h index c80927d2cd..eee8c8bb79 100644 --- a/core/lib/include/rmutex.h +++ b/core/lib/include/rmutex.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Theobroma Systems Design & Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Theobroma Systems Design & Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/thread_config.h b/core/lib/include/thread_config.h index c9f7a99858..6ef7261713 100644 --- a/core/lib/include/thread_config.h +++ b/core/lib/include/thread_config.h @@ -1,11 +1,8 @@ /* - * Copyright (C) 2014-21 Freie Universität Berlin - * 2021 Inria - * 2021 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014-2021 Freie Universität Berlin + * SPDX-FileCopyrightText: 2021 Inria + * SPDX-FileCopyrightText: 2021 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/include/xfa.h b/core/lib/include/xfa.h index 726674dbe9..32bd2caaee 100644 --- a/core/lib/include/xfa.h +++ b/core/lib/include/xfa.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/core/lib/init.c b/core/lib/init.c index e6e4c026a9..f7ccce8e91 100644 --- a/core/lib/init.c +++ b/core/lib/init.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * 2013 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/lib/panic.c b/core/lib/panic.c index 9dcdd5993c..4f97f995f2 100644 --- a/core/lib/panic.c +++ b/core/lib/panic.c @@ -1,11 +1,8 @@ /* - * Copyright (C) 2015 INRIA - * Copyright (C) 2015 Eistec AB - * Copyright (C) 2015 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. + * SPDX-FileCopyrightText: 2015 INRIA + * SPDX-FileCopyrightText: 2015 Eistec AB + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/lib/priority_queue.c b/core/lib/priority_queue.c index e02db44697..5e9668e199 100644 --- a/core/lib/priority_queue.c +++ b/core/lib/priority_queue.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013, 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013-2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/lib/ringbuffer.c b/core/lib/ringbuffer.c index 1ba80b593b..3ab3808111 100644 --- a/core/lib/ringbuffer.c +++ b/core/lib/ringbuffer.c @@ -1,13 +1,10 @@ +/* + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-FileCopyrightText: 2013 INRIA + * SPDX-License-Identifier: LGPL-2.1-only + */ + /** - * Ringbuffer implementation - * - * Copyright (C) 2013 Freie Universität Berlin - * Copyright (C) 2013 INRIA - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - * * @ingroup core_util * @{ * @file diff --git a/core/lib/rmutex.c b/core/lib/rmutex.c index 4eebca0bb4..25cac17b5e 100644 --- a/core/lib/rmutex.c +++ b/core/lib/rmutex.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Theobroma Systems Design & Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Theobroma Systems Design & Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/mbox.c b/core/mbox.c index f636804a3c..1760ab18a5 100644 --- a/core/mbox.c +++ b/core/mbox.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/msg.c b/core/msg.c index 43c7cb6456..9bb2c90c47 100644 --- a/core/msg.c +++ b/core/msg.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/msg_bus.c b/core/msg_bus.c index f151d0f953..432751159c 100644 --- a/core/msg_bus.c +++ b/core/msg_bus.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2020 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/mutex.c b/core/mutex.c index 4e2502d1bd..bd3e0ccf54 100644 --- a/core/mutex.c +++ b/core/mutex.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2015 Kaspar Schleiser - * 2013 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/sched.c b/core/sched.c index 2aa96d54e9..0f43e4404e 100644 --- a/core/sched.c +++ b/core/sched.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014-2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014-2017 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/thread.c b/core/thread.c index 6e83362962..db0943ce58 100644 --- a/core/thread.c +++ b/core/thread.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2013 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2013 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/thread_flags.c b/core/thread_flags.c index be3c1bf44f..a72182b2dc 100644 --- a/core/thread_flags.c +++ b/core/thread_flags.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2016 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2016 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/core/thread_flags_group.c b/core/thread_flags_group.c index 2bad93350c..b985009e49 100644 --- a/core/thread_flags_group.c +++ b/core/thread_flags_group.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2025 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2025 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ /**