From patchwork Sun Jul 6 15:04:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 115709 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D3F313858C42 for ; Sun, 6 Jul 2025 15:05:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3F313858C42 X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from sonata.ens-lyon.org (sonata.ens-lyon.org [140.77.166.138]) by sourceware.org (Postfix) with ESMTPS id 080463858D39 for ; Sun, 6 Jul 2025 15:04:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 080463858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 080463858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.77.166.138 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1751814288; cv=none; b=Gg5SpCT7TriV/yPbAjsq0mdkaCr5ykRhRNmYs+2yFGEi+BnvO4dU6d34ETNIEriY3HwciFTJt85JAVyjmv28JD8puQSLyZOMNDODYiCI+j6qjZKqu14M40xMh4uoIXvQG8RXbHDZRlpwqUC9Wgk0+SxC9AyOQ7ZLwHLSbrsxVps= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1751814288; c=relaxed/simple; bh=WffWSLbcwXMCaJ8Mw5pEHiOuTJRV3XexEmN0R6qiWBU=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=D+rA9I0B1ig8zZ7GNEwdXGyeEj/hfhK8odEgL/6vLufc1gxTu5RRHjrU8+ts3VJPdl2dETwF9eOuuPInedYQQoE0bdzKZEDS4NPrMLSO0FYlUwSkH+evbfJkh2U+Q9CGZIylAwAVDKsQao7Nmkg3hj/nMwlZlCnl1vKSrDR08Nc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id DE91BA1CD6; Sun, 6 Jul 2025 17:04:46 +0200 (CEST) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XtTwlVOKyjF9; Sun, 6 Jul 2025 17:04:46 +0200 (CEST) Received: from begin (aamiens-653-1-40-48.w83-192.abo.wanadoo.fr [83.192.199.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id AD2E5A01C0; Sun, 6 Jul 2025 17:04:46 +0200 (CEST) Received: from samy by begin with local (Exim 4.98.2) (envelope-from ) id 1uYQv8-00000006blc-0nd0; Sun, 06 Jul 2025 17:04:46 +0200 From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd,commited] htl: Drop ptr_pthread_once from pthread_functions Date: Sun, 6 Jul 2025 17:04:45 +0200 Message-ID: <20250706150445.1575137-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.47.2 MIME-Version: 1.0 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org It is unused since ccdb68e829a3 ("htl: move pthread_once into libc") --- htl/pt-initialize.c | 1 - sysdeps/htl/pthread-functions.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c index cd8b4678cd..5ffee38bb3 100644 --- a/htl/pt-initialize.c +++ b/htl/pt-initialize.c @@ -29,7 +29,6 @@ static const struct pthread_functions pthread_functions = { .ptr___pthread_exit = __pthread_exit, .ptr___pthread_get_cleanup_stack = __pthread_get_cleanup_stack, - .ptr_pthread_once = __pthread_once, .ptr__IO_flockfile = _cthreads_flockfile, .ptr__IO_funlockfile = _cthreads_funlockfile, .ptr__IO_ftrylockfile = _cthreads_ftrylockfile, diff --git a/sysdeps/htl/pthread-functions.h b/sysdeps/htl/pthread-functions.h index 31d85cc80c..053649fe5d 100644 --- a/sysdeps/htl/pthread-functions.h +++ b/sysdeps/htl/pthread-functions.h @@ -23,7 +23,6 @@ void __pthread_exit (void *) __attribute__ ((__noreturn__)); struct __pthread_cancelation_handler **__pthread_get_cleanup_stack (void); -int __pthread_once (pthread_once_t *, void (*) (void)); void _cthreads_flockfile (FILE *); void _cthreads_funlockfile (FILE *); @@ -36,7 +35,6 @@ struct pthread_functions { void (*ptr___pthread_exit) (void *) __attribute__ ((__noreturn__)); struct __pthread_cancelation_handler **(*ptr___pthread_get_cleanup_stack) (void); - int (*ptr_pthread_once) (pthread_once_t *, void (*) (void)); void (*ptr__IO_flockfile) (FILE *); void (*ptr__IO_funlockfile) (FILE *); int (*ptr__IO_ftrylockfile) (FILE *);