Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2024 00:48:55 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 29c4e3198456 - stable/14 - kern_thr.c/kern_sig.c: remove sys/cdefs.h
Message-ID:  <202404300048.43U0mtaY012689@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=29c4e3198456adc6095ce594941b87ccf879e2d6

commit 29c4e3198456adc6095ce594941b87ccf879e2d6
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-19 14:25:04 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-30 00:48:09 +0000

    kern_thr.c/kern_sig.c: remove sys/cdefs.h
    
    (cherry picked from commit 2effad53b4676dcfe4da892cd72a9a235a9539d1)
---
 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 d35c35a534f9..54e39d2cd310 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -36,7 +36,6 @@
  *	@(#)kern_sig.c	8.7 (Berkeley) 4/18/94
  */
 
-#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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404300048.43U0mtaY012689>