mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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.
This commit is contained in:
@ -29,16 +29,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
|
||||
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
#define LOADSYSCALL(x) mov __NR_##x, %g1
|
||||
|
Reference in New Issue
Block a user