git: 2effad53b467 - main - kern_thr.c/kern_sig.c: remove sys/cdefs.h

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Tue, 23 Apr 2024 16:52:32 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=2effad53b4676dcfe4da892cd72a9a235a9539d1

commit 2effad53b4676dcfe4da892cd72a9a235a9539d1
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-19 14:25:04 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-23 16:51:05 +0000

    kern_thr.c/kern_sig.c: remove sys/cdefs.h
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D44867
---
 sys/kern/kern_sig.c | 1 -
 sys/kern/kern_thr.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 11b3a3374a4d..a533460090eb 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -34,7 +34,6 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include "opt_capsicum.h"
 #include "opt_ktrace.h"
 
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index e2f1b6baca4b..5df5620842fd 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -26,9 +26,9 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include "opt_posix.h"
 #include "opt_hwpmc_hooks.h"
+
 #include <sys/param.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>