summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-04-04 17:58:48 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-04-04 17:58:48 +0200
commitd7bd4cf1a5d1b41a98b1242018e13d428159b38c (patch)
tree4eec4862d74ee4f535e55a478ed2d08f3516266e /libc/sysdeps/linux
parent30c4dd1f3a33a3ec196dff464f671c33a332c6ec (diff)
stubs: Disregard LFS
Fixes handling of e.g. splice Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/stubs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index fc4dd38a7..a4c16b9b9 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -54,12 +54,6 @@ __attribute_used__ static int ret_enosys_stub(void)
# define __NR_fadvise64 __NR_fadvise64_64
#endif
-#ifndef __UCLIBC_HAS_LFS__
-# undef __NR_readahead
-# undef __NR_sync_file_range
-# undef __NR_splice
-#endif
-
#if !defined __NR_accept && !defined __NR_socketcall && defined __UCLIBC_HAS_SOCKET__
make_stub(accept)
#endif