From d7bd4cf1a5d1b41a98b1242018e13d428159b38c Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Wed, 4 Apr 2012 17:58:48 +0200
Subject: stubs: Disregard LFS

Fixes handling of e.g. splice

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 libc/sysdeps/linux/common/stubs.c | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'libc')

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
-- 
cgit v1.2.3