From patchwork Sun Feb 9 12:07:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 1235425 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-109286-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha1 header.s=default header.b=C2HJsjvf; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Fnpp3lr9z9sPF for ; Sun, 9 Feb 2020 23:07:30 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; q=dns; s=default; b=a5z aRVGLVilKBkbS/3SjiMlZzvoXRmOBlkSvXPRKUobt8ou8ZH33j6iulRNUUcX4O7I xqvF/FoKUcbPTxbWBgerDdlX7FPD1ChxhXM80XuQJ2b5+aCFduE8mEj3+5rkzDdI GPtnlo8SnyyLnOHeTRuggrCHN5LxK2c/ANDOzE8I= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=default; bh=/VH6UkED6 2MxsfZnmNp6adHBVXc=; b=C2HJsjvfEpmYYh6K9ne3nPmEoWwuYCjH6PO4GhQv3 8lb375BM2nEi16Pcuin+iq2ACy3GMfbDkQsoCcUub6cVurn0v+06rsy5vr03yOa2 2UeRrwL7he11DgJCCY/iwvN7ppDf95Gl63tvolUSZfo+cwoM3xXKpqg8QhvO1Y4P Q8= Received: (qmail 27741 invoked by alias); 9 Feb 2020 12:07:23 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 27728 invoked by uid 89); 9 Feb 2020 12:07:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.1 spammy=debian, HContent-Transfer-Encoding:8bit X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd, commited] htl: Move internal mutex/rwlock symbols to GLIBC_PRIVATE Date: Sun, 9 Feb 2020 13:07:13 +0100 Message-Id: <20200209120713.119273-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 Their prototypes have never been made public, and they are not used outside libc (checked on the whole Debian archive) --- htl/Versions | 8 ++++---- sysdeps/mach/hurd/i386/libpthread.abilist | 7 ------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/htl/Versions b/htl/Versions index 8e0007d77c..8df40c7af7 100644 --- a/htl/Versions +++ b/htl/Versions @@ -36,10 +36,6 @@ libpthread { __pthread_mutex_transfer_np; - _pthread_mutex_destroy; _pthread_mutex_init; - _pthread_mutex_lock; _pthread_mutex_trylock; _pthread_mutex_unlock; - _pthread_rwlock_destroy; _pthread_rwlock_init; - _cthread_init_routine; cthread_detach; @@ -154,5 +150,9 @@ libpthread { __pthread_getattr_np; __pthread_attr_getstack; __pthread_mutex_timedlock; + + _pthread_mutex_destroy; _pthread_mutex_init; + _pthread_mutex_lock; _pthread_mutex_trylock; _pthread_mutex_unlock; + _pthread_rwlock_destroy; _pthread_rwlock_init; } } diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist b/sysdeps/mach/hurd/i386/libpthread.abilist index 0ede90859c..14ef22e3db 100644 --- a/sysdeps/mach/hurd/i386/libpthread.abilist +++ b/sysdeps/mach/hurd/i386/libpthread.abilist @@ -14,13 +14,6 @@ GLIBC_2.12 _cthread_init_routine D 0x4 GLIBC_2.12 _cthreads_flockfile F GLIBC_2.12 _cthreads_ftrylockfile F GLIBC_2.12 _cthreads_funlockfile F -GLIBC_2.12 _pthread_mutex_destroy F -GLIBC_2.12 _pthread_mutex_init F -GLIBC_2.12 _pthread_mutex_lock F -GLIBC_2.12 _pthread_mutex_trylock F -GLIBC_2.12 _pthread_mutex_unlock F -GLIBC_2.12 _pthread_rwlock_destroy F -GLIBC_2.12 _pthread_rwlock_init F GLIBC_2.12 _pthread_spin_lock F GLIBC_2.12 cthread_detach F GLIBC_2.12 cthread_fork F