Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2026 18:12:19 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8515934ce3c2 - main - sys/sched.h: make sched_clear_tdname() function prototypes unconditional
Message-ID:  <697ba303.9245.3fc7a044@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=8515934ce3c290765df9254003f3c6d79da7e538

commit 8515934ce3c290765df9254003f3c6d79da7e538
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-01-22 04:00:59 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-01-29 18:11:54 +0000

    sys/sched.h: make sched_clear_tdname() function prototypes unconditional
    
    There is no harm in having unused prototypes.
    
    Reviewed by:    olce
    Tested by:      pho
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D54831
---
 sys/sys/sched.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/sys/sched.h b/sys/sys/sched.h
index 052b8bb85f2f..f3a5d1eca874 100644
--- a/sys/sys/sched.h
+++ b/sys/sys/sched.h
@@ -174,9 +174,7 @@ int	sched_sizeof_thread(void);
  * functions.
  */
 char	*sched_tdname(struct thread *td);
-#ifdef KTR
 void	sched_clear_tdname(struct thread *td);
-#endif
 
 static __inline void
 sched_pin(void)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?697ba303.9245.3fc7a044>