diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-02-09 16:07:00 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-02-09 16:54:01 +0100 |
commit | 401c63072f7c81105a349fbf4023deb06aab1b15 (patch) | |
tree | 77bf6d9dc2a02d9790dfd302e27eada8a48e4ec4 /sysdeps/unix/sysv/linux/pread.c | |
parent | a19e646fd70d38f688a41daf15650f56d66cd7d9 (diff) | |
download | glibc-401c63072f7c81105a349fbf4023deb06aab1b15.tar glibc-401c63072f7c81105a349fbf4023deb06aab1b15.tar.gz glibc-401c63072f7c81105a349fbf4023deb06aab1b15.tar.bz2 glibc-401c63072f7c81105a349fbf4023deb06aab1b15.zip |
Linux: Clean up pread64/pwrite64 system call names
Linux removed the last definitions of __NR_pread and __NR_pwrite
in commit 4ba66a9760722ccbb691b8f7116cad2f791cca7b, the removal
of the blackfin port. All architectures now define __NR_pread64 and
__NR_pwrite64 only.
Diffstat (limited to 'sysdeps/unix/sysv/linux/pread.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/pread.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/pread.c b/sysdeps/unix/sysv/linux/pread.c index 7a09affd34..8dd87b3976 100644 --- a/sysdeps/unix/sysv/linux/pread.c +++ b/sysdeps/unix/sysv/linux/pread.c @@ -21,14 +21,10 @@ #ifndef __OFF_T_MATCHES_OFF64_T -# ifndef __NR_pread -# define __NR_pread __NR_pread64 -# endif - ssize_t __libc_pread (int fd, void *buf, size_t count, off_t offset) { - return SYSCALL_CANCEL (pread, fd, buf, count, SYSCALL_LL_PRW (offset)); + return SYSCALL_CANCEL (pread64, fd, buf, count, SYSCALL_LL_PRW (offset)); } strong_alias (__libc_pread, __pread) |