remove cruft from x86_64 syscall.h
x86_64 syscall.h defined some musl internal syscall names and made them public. These defines were already moved to src/internal/syscall.h (except for SYS_fadvise which is added now) so the cruft in x86_64 syscall.h is not needed.
This commit is contained in:
committed by
Rich Felker
parent
61b1d10212
commit
e63833cd43
@@ -191,6 +191,9 @@ long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...),
|
||||
#ifdef SYS_fadvise64_64
|
||||
#undef SYS_fadvise
|
||||
#define SYS_fadvise SYS_fadvise64_64
|
||||
#elif defined(SYS_fadvise64)
|
||||
#undef SYS_fadvise
|
||||
#define SYS_fadvise SYS_fadvise64
|
||||
#endif
|
||||
|
||||
#ifdef SYS_sendfile64
|
||||
|
||||
Reference in New Issue
Block a user