From 26aa9106afd0d533a13ddc101a1312797d95d980 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 Aug 2025 16:13:16 -0500 Subject: [PATCH] cpukit/rtems: Move SPDX line to top of file The RTEMS Software Engineering Guide specifies that the SPDX license annotation shouldbe the first line of the file and not part of the copyright/license comment block. --- cpukit/rtems/src/barrier.c | 4 ++-- cpukit/rtems/src/dpmem.c | 4 ++-- cpukit/rtems/src/getapiconfig.c | 4 ++-- cpukit/rtems/src/msg.c | 4 ++-- cpukit/rtems/src/part.c | 4 ++-- cpukit/rtems/src/ratemon.c | 4 ++-- cpukit/rtems/src/region.c | 4 ++-- cpukit/rtems/src/rtemstimer.c | 4 ++-- cpukit/rtems/src/sem.c | 4 ++-- cpukit/rtems/src/taskinitdefault.c | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/cpukit/rtems/src/barrier.c b/cpukit/rtems/src/barrier.c index 633286a0ac..eae69f2b77 100644 --- a/cpukit/rtems/src/barrier.c +++ b/cpukit/rtems/src/barrier.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/rtems/src/dpmem.c b/cpukit/rtems/src/dpmem.c index be63717ae8..a245f1192d 100644 --- a/cpukit/rtems/src/dpmem.c +++ b/cpukit/rtems/src/dpmem.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/rtems/src/getapiconfig.c b/cpukit/rtems/src/getapiconfig.c index 74a4db2639..eac7d2a87c 100644 --- a/cpukit/rtems/src/getapiconfig.c +++ b/cpukit/rtems/src/getapiconfig.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/rtems/src/msg.c b/cpukit/rtems/src/msg.c index 18383136cc..b21e845a1a 100644 --- a/cpukit/rtems/src/msg.c +++ b/cpukit/rtems/src/msg.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/rtems/src/part.c b/cpukit/rtems/src/part.c index 9ae646830e..1f9bc0c2b6 100644 --- a/cpukit/rtems/src/part.c +++ b/cpukit/rtems/src/part.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/rtems/src/ratemon.c b/cpukit/rtems/src/ratemon.c index 03b224d434..a52ec246a8 100644 --- a/cpukit/rtems/src/ratemon.c +++ b/cpukit/rtems/src/ratemon.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/rtems/src/region.c b/cpukit/rtems/src/region.c index 66c259a01f..f16c330468 100644 --- a/cpukit/rtems/src/region.c +++ b/cpukit/rtems/src/region.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/rtems/src/rtemstimer.c b/cpukit/rtems/src/rtemstimer.c index 07d0927904..3c60d62e42 100644 --- a/cpukit/rtems/src/rtemstimer.c +++ b/cpukit/rtems/src/rtemstimer.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/rtems/src/sem.c b/cpukit/rtems/src/sem.c index 0e881d37ed..15307c41a0 100644 --- a/cpukit/rtems/src/sem.c +++ b/cpukit/rtems/src/sem.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/rtems/src/taskinitdefault.c b/cpukit/rtems/src/taskinitdefault.c index 0783bdf6b6..41143670e9 100644 --- a/cpukit/rtems/src/taskinitdefault.c +++ b/cpukit/rtems/src/taskinitdefault.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without