diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-12 17:08:00 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-26 13:36:17 -0300 |
commit | c5c3588475eece698f965c4066c2e8e425027320 (patch) | |
tree | a6c002fd30c8b9b96bd4845615953a280138e786 /include/unistd.h | |
parent | 78d1724d53e23fcbbf4df832015aae269b98249c (diff) | |
download | glibc-c5c3588475eece698f965c4066c2e8e425027320.tar.gz glibc-c5c3588475eece698f965c4066c2e8e425027320.tar.xz glibc-c5c3588475eece698f965c4066c2e8e425027320.zip |
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.
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h index 54becbc9eb..cdc31c3c0c 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); |