From 71691aae927b5f5b987bc78be1dc10f27dda6c51 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sun, 9 Feb 2020 16:07:00 +0100 Subject: 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 --- sysdeps/unix/sysv/linux/generic/sysdep.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sysdeps/unix/sysv/linux/generic/sysdep.h') diff --git a/sysdeps/unix/sysv/linux/generic/sysdep.h b/sysdeps/unix/sysv/linux/generic/sysdep.h index 23defce7c3..40b4b955ca 100644 --- a/sysdeps/unix/sysv/linux/generic/sysdep.h +++ b/sysdeps/unix/sysv/linux/generic/sysdep.h @@ -25,11 +25,3 @@ #ifdef __NR_llseek # define __NR__llseek __NR_llseek #endif - -#if __WORDSIZE == 64 -/* By defining the older names, glibc will build syscall wrappers for - both pread and pread64; sysdeps/unix/sysv/linux/wordsize-64/pread64.c - will suppress generating any separate code for pread64.c. */ -#define __NR_pread __NR_pread64 -#define __NR_pwrite __NR_pwrite64 -#endif -- cgit v1.2.3-70-g09d2