From 8192a60a71150b4ee9cc0b2300fb13a6449af24c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 31 Aug 2009 04:48:04 -0400 Subject: drop last _syscall6 checks If your arch does not support _syscall6(), it is broken anyways. Signed-off-by: Mike Frysinger --- libc/sysdeps/linux/common/posix_fadvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/posix_fadvise.c') diff --git a/libc/sysdeps/linux/common/posix_fadvise.c b/libc/sysdeps/linux/common/posix_fadvise.c index 4fee8e49e..7c43be959 100644 --- a/libc/sysdeps/linux/common/posix_fadvise.c +++ b/libc/sysdeps/linux/common/posix_fadvise.c @@ -23,7 +23,7 @@ int posix_fadvise(int fd, off_t offset, off_t len, int advice) return 0; } -#if defined __UCLIBC_HAS_LFS__ && (!defined __NR_fadvise64_64 || !defined _syscall6) +#if defined __UCLIBC_HAS_LFS__ && !defined __NR_fadvise64_64 strong_alias(posix_fadvise,posix_fadvise64) #endif -- cgit v1.2.3