From c5c3588475eece698f965c4066c2e8e425027320 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 12 Mar 2021 17:08:00 -0300 Subject: nptl: Remove lseek from libpthread The libc version is identical and built with same flags. The libc version is set as the default version. The libpthread compat symbol requires to mask it when building the loader object otherwise ld might complain about a missing versioned symbol (as for alpha). Checked on x86_64-linux-gnu. --- include/unistd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/unistd.h b/include/unistd.h index 54becbc..cdc31c3 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -33,8 +33,7 @@ extern int __euidaccess (const char *__name, int __type); extern int __faccessat (int __fd, const char *__file, int __type, int __flag); extern int __faccessat_noerrno (int __fd, const char *__file, int __type, int __flag); -extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence) - attribute_hidden; +extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence); extern __off_t __lseek (int __fd, __off_t __offset, int __whence); libc_hidden_proto (__lseek) extern __off_t __libc_lseek (int __fd, __off_t __offset, int __whence); -- cgit v1.1