From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 32634383543E; Tue, 2 Mar 2021 12:30:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 32634383543E Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/y2038] linux: Fix __thrd_sleep64 hidden definition X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/y2038 X-Git-Oldrev: e81402f246f53072aa799bfee101bf02d561a8c1 X-Git-Newrev: 8a0990ba29bf93ff775fd7c2acf866716bfb2435 Message-Id: <20210302123019.32634383543E@sourceware.org> Date: Tue, 2 Mar 2021 12:30:19 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 12:30:19 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8a0990ba29bf93ff775fd7c2acf866716bfb2435 commit 8a0990ba29bf93ff775fd7c2acf866716bfb2435 Author: Adhemerval Zanella Date: Thu Feb 25 20:43:13 2021 -0300 linux: Fix __thrd_sleep64 hidden definition The symbol is exported by libc. Diff: --- 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)