From 3470ea15f1f8196d59ce000e9a70b867732e4308 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 Aug 2025 16:16:48 -0500 Subject: [PATCH] cpukit/include: 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/include/rtems/recordclient.h | 4 ++-- cpukit/include/rtems/recorddata.h | 4 ++-- cpukit/include/rtems/recordserver.h | 4 ++-- cpukit/include/rtems/score/memory.h | 4 ++-- cpukit/include/rtems/score/threadidledata.h | 4 ++-- cpukit/include/sys/_ffcounter.h | 4 ++-- cpukit/include/sys/timeffc.h | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cpukit/include/rtems/recordclient.h b/cpukit/include/rtems/recordclient.h index 55adc2059a..ba731f241a 100644 --- a/cpukit/include/rtems/recordclient.h +++ b/cpukit/include/rtems/recordclient.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, 2024 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/include/rtems/recorddata.h b/cpukit/include/rtems/recorddata.h index 76413fd308..31f6e64fbb 100644 --- a/cpukit/include/rtems/recorddata.h +++ b/cpukit/include/rtems/recorddata.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, 2024 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/include/rtems/recordserver.h b/cpukit/include/rtems/recordserver.h index 6fca2b1b6c..f350024f8b 100644 --- a/cpukit/include/rtems/recordserver.h +++ b/cpukit/include/rtems/recordserver.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, 2019 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/include/rtems/score/memory.h b/cpukit/include/rtems/score/memory.h index a593d98d76..01764ff117 100644 --- a/cpukit/include/rtems/score/memory.h +++ b/cpukit/include/rtems/score/memory.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2019, 2022 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/include/rtems/score/threadidledata.h b/cpukit/include/rtems/score/threadidledata.h index 8e458de345..6a6b6b6155 100644 --- a/cpukit/include/rtems/score/threadidledata.h +++ b/cpukit/include/rtems/score/threadidledata.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -9,8 +11,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/include/sys/_ffcounter.h b/cpukit/include/sys/_ffcounter.h index 9da29205d1..72a98fc0a1 100644 --- a/cpukit/include/sys/_ffcounter.h +++ b/cpukit/include/sys/_ffcounter.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /*- - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2011 The University of Melbourne * All rights reserved. * diff --git a/cpukit/include/sys/timeffc.h b/cpukit/include/sys/timeffc.h index 61891c6757..438e404031 100644 --- a/cpukit/include/sys/timeffc.h +++ b/cpukit/include/sys/timeffc.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /*- - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2011 The University of Melbourne * All rights reserved. *