The branch main has been updated by brooks:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=40a4508c4f90565fbc6db6e226c45b03155c4b60

commit 40a4508c4f90565fbc6db6e226c45b03155c4b60
Author:     Brooks Davis <bro...@freebsd.org>
AuthorDate: 2025-08-06 11:24:01 +0000
Commit:     Brooks Davis <bro...@freebsd.org>
CommitDate: 2025-08-06 11:31:24 +0000

    libthr: GC unused _sigsuspend()
    
    There are no consumers and it isn't a public symbol.
    
    Reviewed by:    kib
    Differential Revision:  https://reviews.freebsd.org/D51670
---
 lib/libthr/thread/thr_init.c | 1 -
 lib/libthr/thread/thr_sig.c  | 8 --------
 2 files changed, 9 deletions(-)

diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c
index 64cf7d004070..0f9e3749d75f 100644
--- a/lib/libthr/thread/thr_init.c
+++ b/lib/libthr/thread/thr_init.c
@@ -170,7 +170,6 @@ STATIC_LIB_REQUIRE(_sem_trywait);
 STATIC_LIB_REQUIRE(_sem_wait);
 STATIC_LIB_REQUIRE(_sigaction);
 STATIC_LIB_REQUIRE(_sigprocmask);
-STATIC_LIB_REQUIRE(_sigsuspend);
 STATIC_LIB_REQUIRE(_sigtimedwait);
 STATIC_LIB_REQUIRE(_sigwait);
 STATIC_LIB_REQUIRE(_sigwaitinfo);
diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c
index 2cd3de512d1c..4bff5497a804 100644
--- a/lib/libthr/thread/thr_sig.c
+++ b/lib/libthr/thread/thr_sig.c
@@ -682,14 +682,6 @@ _thr_sigmask(int how, const sigset_t *set, sigset_t *oset)
        return (0);
 }
 
-int
-_sigsuspend(const sigset_t *set)
-{
-       sigset_t newset;
-
-       return (__sys_sigsuspend(thr_remove_thr_signals(set, &newset)));
-}
-
 int
 __thr_sigsuspend(const sigset_t *set)
 {

Reply via email to