From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) by sourceware.org (Postfix) with ESMTPS id C2990383F840 for ; Fri, 5 Mar 2021 11:49:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C2990383F840 Received: by mail-qv1-xf2f.google.com with SMTP id s17so779143qvr.12 for ; Fri, 05 Mar 2021 03:49:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=w+prTf0wv9tD92ttFsQpCs7E0Ue2Nb4upfMmbrAIq8A=; b=LvEijfqlxZcWD69xZOgUJgLwhvk3UnHHqHfz1u2aE9mzqDi/q1O4SsRIlBoTIMkp3o QuOC4tmvAzxSIDs8CRwzJ2WqIel5aK+NMai3nvc1bgE9Rf27Sa89gFYzUs1i+VVAkLC3 ATu7f1G9oQyImuc+eO7u7NrVstJ18COpYE/m+6zyrFlhTJLeJcv+Ol1ztc5QaNRAyLCL KPFQtLhUhdstHdBLoza3Z0tLews/UIsqgKaIZfkdp5YbkJ3Z9q4XuveyIX9YlocB22H/ P+TOfAl8wpPVnuxafOX1hMzGlKUs1QKgEL7gQSenPH73GSnLZS0ymIGZXtnsZU0K2ZUW Lxhg== X-Gm-Message-State: AOAM532FCnR/7lKIq09cn+LywkWDySjOhjaS5b8NyOc0qAaXVFaqKAPv gSsYHWwUVNOM9bTU81igHvO3Wv1OI/JckA== X-Google-Smtp-Source: ABdhPJwDhsLfaVbbrSFNRKCk00j50ubMUtvm7ZdeIZnDlt8oENu+5yIm1MfmAXOg6mao88K3V1U1Vg== X-Received: by 2002:ad4:584d:: with SMTP id de13mr8519931qvb.17.1614944953311; Fri, 05 Mar 2021 03:49:13 -0800 (PST) Received: from localhost.localdomain ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id e3sm1672571qtj.28.2021.03.05.03.49.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Mar 2021 03:49:13 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [COMMITTED 3/4] linux: Fix __thrd_sleep64 hidden definition Date: Fri, 5 Mar 2021 08:49:05 -0300 Message-Id: <20210305114906.122952-3-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2021 11:49:14 -0000 The symbol is exported by libc. --- sysdeps/unix/sysv/linux/thrd_priv.h | 2 +- sysdeps/unix/sysv/linux/thrd_sleep.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/thrd_priv.h b/sysdeps/unix/sysv/linux/thrd_priv.h index d38ddf4612..9fb300df03 100644 --- a/sysdeps/unix/sysv/linux/thrd_priv.h +++ b/sysdeps/unix/sysv/linux/thrd_priv.h @@ -31,5 +31,5 @@ extern int __mtx_timedlock64 (mtx_t *restrict mutex, libpthread_hidden_proto (__mtx_timedlock64) extern int __thrd_sleep64 (const struct __timespec64 *time_point, struct __timespec64 *remaining); -libpthread_hidden_proto (__thrd_sleep64) +libc_hidden_proto (__thrd_sleep64) #endif diff --git a/sysdeps/unix/sysv/linux/thrd_sleep.c b/sysdeps/unix/sysv/linux/thrd_sleep.c index 73c6c5f1b1..a84a7c5ffa 100644 --- a/sysdeps/unix/sysv/linux/thrd_sleep.c +++ b/sysdeps/unix/sysv/linux/thrd_sleep.c @@ -38,7 +38,7 @@ __thrd_sleep64 (const struct __timespec64 *time_point, } #if __TIMESIZE != 64 -libpthread_hidden_def (__thrd_sleep64) +libc_hidden_def (__thrd_sleep64) int __thrd_sleep (const struct timespec *time_point, struct timespec *remaining) -- 2.25.1