From 0933a4678c7d6afcd21ad1868a6de3a49a065b2e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 2 Jan 2020 10:18:37 +0100 Subject: Linux: Remove pread/pread64, pwrite/pwrite64 kludges from Since the switch away from auto-generated wrappers for these system calls, the kludge is already included in the C source file of the system call wrapper. --- sysdeps/unix/sysv/linux/ia64/sysdep.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sysdeps/unix/sysv/linux/ia64') diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h index 61f32ca8b4..59442c50e9 100644 --- a/sysdeps/unix/sysv/linux/ia64/sysdep.h +++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h @@ -46,16 +46,6 @@ #undef SYS_ify #define SYS_ify(syscall_name) __NR_##syscall_name -/* This is a kludge to make syscalls.list find these under the names - pread and pwrite, since some kernel headers define those names - and some define the *64 names for the same system calls. */ -#if !defined __NR_pread && defined __NR_pread64 -# define __NR_pread __NR_pread64 -#endif -#if !defined __NR_pwrite && defined __NR_pwrite64 -# define __NR_pwrite __NR_pwrite64 -#endif - /* This is to help the old kernel headers where __NR_semtimedop is not available. */ #ifndef __NR_semtimedop -- cgit 1.4.1