From e63833cd43a778f639e4fdf5d86cd5c526cc5db2 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 7 Feb 2015 17:25:58 +0100 Subject: 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. --- src/internal/syscall.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/internal/syscall.h b/src/internal/syscall.h index b3fe7c01..e3a8c5d6 100644 --- a/src/internal/syscall.h +++ b/src/internal/syscall.h @@ -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 -- cgit v1.2.1