about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-01-02 10:18:37 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-01-02 10:18:37 +0100
commit0933a4678c7d6afcd21ad1868a6de3a49a065b2e (patch)
treed9899fcca4b9a0f0ced3e8d5b1fd6f5f4cb1cfb6 /sysdeps/unix/sysv/linux/alpha
parent07a44d239263beae387e3cb73a5db58c5256d87f (diff)
downloadglibc-0933a4678c7d6afcd21ad1868a6de3a49a065b2e.tar.gz
glibc-0933a4678c7d6afcd21ad1868a6de3a49a065b2e.tar.xz
glibc-0933a4678c7d6afcd21ad1868a6de3a49a065b2e.zip
Linux: Remove pread/pread64, pwrite/pwrite64 kludges from <sysdep.h>
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/sysdep.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/sysdep.h b/sysdeps/unix/sysv/linux/alpha/sysdep.h
index 2458f9860a..f8c9e589ec 100644
--- a/sysdeps/unix/sysv/linux/alpha/sysdep.h
+++ b/sysdeps/unix/sysv/linux/alpha/sysdep.h
@@ -37,16 +37,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
-
 #define SINGLE_THREAD_BY_GLOBAL 1
 
 #endif /* _LINUX_ALPHA_SYSDEP_H */