From 7df3c4515937123a4b43c6767c4e90d421f2bb48 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 Aug 2025 16:13:35 -0500 Subject: [PATCH] cpukit/posix: 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/posix/src/key.c | 4 ++-- cpukit/posix/src/keyzerokvp.c | 4 ++-- cpukit/posix/src/mqueue.c | 4 ++-- cpukit/posix/src/mqueueconfig.c | 4 ++-- cpukit/posix/src/psignalconfig.c | 4 ++-- cpukit/posix/src/psxsemaphore.c | 4 ++-- cpukit/posix/src/psxsemaphoreconfig.c | 4 ++-- cpukit/posix/src/psxtimerconfig.c | 4 ++-- cpukit/posix/src/pthreadconfig.c | 4 ++-- cpukit/posix/src/ptimer.c | 4 ++-- cpukit/posix/src/shm.c | 4 ++-- cpukit/posix/src/shmconfig.c | 4 ++-- cpukit/posix/src/shmops.c | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/cpukit/posix/src/key.c b/cpukit/posix/src/key.c index d7551f62dd..122a410f80 100644 --- a/cpukit/posix/src/key.c +++ b/cpukit/posix/src/key.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -7,8 +9,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/posix/src/keyzerokvp.c b/cpukit/posix/src/keyzerokvp.c index 73fa1aa64b..63e5ca29b7 100644 --- a/cpukit/posix/src/keyzerokvp.c +++ b/cpukit/posix/src/keyzerokvp.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * 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/posix/src/mqueue.c b/cpukit/posix/src/mqueue.c index 3b380740b7..b4890d5dd2 100644 --- a/cpukit/posix/src/mqueue.c +++ b/cpukit/posix/src/mqueue.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -7,8 +9,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/posix/src/mqueueconfig.c b/cpukit/posix/src/mqueueconfig.c index be7acb6a82..1a7fe97005 100644 --- a/cpukit/posix/src/mqueueconfig.c +++ b/cpukit/posix/src/mqueueconfig.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright 2018, embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/posix/src/psignalconfig.c b/cpukit/posix/src/psignalconfig.c index 21412d8e03..1ccebf2711 100644 --- a/cpukit/posix/src/psignalconfig.c +++ b/cpukit/posix/src/psignalconfig.c @@ -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/posix/src/psxsemaphore.c b/cpukit/posix/src/psxsemaphore.c index 8136dfb7fc..f9a2f2fc76 100644 --- a/cpukit/posix/src/psxsemaphore.c +++ b/cpukit/posix/src/psxsemaphore.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -7,8 +9,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/posix/src/psxsemaphoreconfig.c b/cpukit/posix/src/psxsemaphoreconfig.c index 7f500f2f16..32928a1edc 100644 --- a/cpukit/posix/src/psxsemaphoreconfig.c +++ b/cpukit/posix/src/psxsemaphoreconfig.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright 2018, embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/posix/src/psxtimerconfig.c b/cpukit/posix/src/psxtimerconfig.c index 7673651622..0779610633 100644 --- a/cpukit/posix/src/psxtimerconfig.c +++ b/cpukit/posix/src/psxtimerconfig.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright 2018, embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/posix/src/pthreadconfig.c b/cpukit/posix/src/pthreadconfig.c index ec1b6c13c7..992a7bb22e 100644 --- a/cpukit/posix/src/pthreadconfig.c +++ b/cpukit/posix/src/pthreadconfig.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright 2018, embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/posix/src/ptimer.c b/cpukit/posix/src/ptimer.c index 5a8be40435..653c7e6db6 100644 --- a/cpukit/posix/src/ptimer.c +++ b/cpukit/posix/src/ptimer.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -7,8 +9,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/posix/src/shm.c b/cpukit/posix/src/shm.c index 0ec838b38f..df780bc6cf 100644 --- a/cpukit/posix/src/shm.c +++ b/cpukit/posix/src/shm.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -7,8 +9,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/posix/src/shmconfig.c b/cpukit/posix/src/shmconfig.c index 0c09b58af4..26ddf1fe77 100644 --- a/cpukit/posix/src/shmconfig.c +++ b/cpukit/posix/src/shmconfig.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright 2018, embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/posix/src/shmops.c b/cpukit/posix/src/shmops.c index 6d4f1ba9fd..5550657c73 100644 --- a/cpukit/posix/src/shmops.c +++ b/cpukit/posix/src/shmops.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * 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