mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
nptl: Remove pwrite from libpthread
The libc version is identical and built with same flags, it is also uses as the default version. Checked on x86_64-linux-gnu.
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sysdep-cancel.h>
|
||||
#include <shlib-compat.h>
|
||||
|
||||
ssize_t
|
||||
__libc_pwrite64 (int fd, const void *buf, size_t count, off64_t offset)
|
||||
@ -33,4 +34,13 @@ weak_alias (__libc_pwrite64, pwrite64)
|
||||
strong_alias (__libc_pwrite64, __libc_pwrite)
|
||||
weak_alias (__libc_pwrite64, __pwrite)
|
||||
weak_alias (__libc_pwrite64, pwrite)
|
||||
|
||||
# if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_2)
|
||||
compat_symbol (libc, __libc_pwrite64, pwrite, GLIBC_2_2);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)
|
||||
compat_symbol (libc, __libc_pwrite64, pwrite64, GLIBC_2_2);
|
||||
compat_symbol (libc, __libc_pwrite64, __pwrite64, GLIBC_2_2);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user