aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/pwrite64.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-02-09 16:07:00 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-03-03 12:14:40 +0100
commit71691aae927b5f5b987bc78be1dc10f27dda6c51 (patch)
tree4a94218a9b9da2b4489b984e83c39005be08badd /sysdeps/unix/sysv/linux/pwrite64.c
parent1a5f1153a770a6f244f4a0eee0441033a1857990 (diff)
downloadglibc-71691aae927b5f5b987bc78be1dc10f27dda6c51.tar
glibc-71691aae927b5f5b987bc78be1dc10f27dda6c51.tar.gz
glibc-71691aae927b5f5b987bc78be1dc10f27dda6c51.tar.bz2
glibc-71691aae927b5f5b987bc78be1dc10f27dda6c51.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. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/pwrite64.c')
-rw-r--r--sysdeps/unix/sysv/linux/pwrite64.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/pwrite64.c b/sysdeps/unix/sysv/linux/pwrite64.c
index 632f001f5b..709775c207 100644
--- a/sysdeps/unix/sysv/linux/pwrite64.c
+++ b/sysdeps/unix/sysv/linux/pwrite64.c
@@ -19,10 +19,6 @@
#include <unistd.h>
#include <sysdep-cancel.h>
-#ifndef __NR_pwrite64
-# define __NR_pwrite64 __NR_pwrite
-#endif
-
ssize_t
__libc_pwrite64 (int fd, const void *buf, size_t count, off64_t offset)
{