浏览代码

stubs: Disregard LFS

Fixes handling of e.g. splice

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 13 年之前
父节点
当前提交
d7bd4cf1a5
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      libc/sysdeps/linux/common/stubs.c

+ 0 - 6
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