From f5773054ef6420f52887bfa2c8dd1a40423e2187 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 27 Feb 2009 22:51:07 +0000 Subject: fix breakage in x86_64 defconfig --- libc/sysdeps/linux/common/getdents64.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libc/sysdeps/linux/common/getdents64.c') diff --git a/libc/sysdeps/linux/common/getdents64.c b/libc/sysdeps/linux/common/getdents64.c index 1864ff4fc..37cb4c6f8 100644 --- a/libc/sysdeps/linux/common/getdents64.c +++ b/libc/sysdeps/linux/common/getdents64.c @@ -20,9 +20,6 @@ #if defined __UCLIBC_HAS_LFS__ && defined __NR_getdents64 -/* Experimentally off - libc_hidden_proto(memcpy) */ -/* libc_hidden_proto(lseek64) */ - # ifndef offsetof # define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) # endif @@ -36,7 +33,6 @@ struct kernel_dirent64 char d_name[256]; }; - # define __NR___syscall_getdents64 __NR_getdents64 static __inline__ _syscall3(int, __syscall_getdents64, int, fd, unsigned char *, dirp, size_t, count) @@ -102,4 +98,4 @@ ssize_t __getdents64 (int fd, char *buf, size_t nbytes) attribute_hidden strong_alias(__getdents64,__getdents) #endif -#endif /* __UCLIBC_HAS_LFS__ */ +#endif -- cgit v1.2.3